Random Questions and Database access

I wonder if anyone has seen something like this before.


I have a simple project with a login section and a 4-question quiz.


The login section consists of 3 variables: FirstName, LastName, and StudentID. This information is pulled from a database using a 'top of file' script and populates corresponding fields. After the user confirms the info, the quiz begins.


So far so good - everything works.


Here comes the tricky part. I would like to randomize the answers in the quiz. However, when I check the randomize box, and publish, the login section fails. What happens is, instead of having the LoginInfo Script as part of the index.asp file, it (and the bulk of the code that was previously in "index.asp") becomes part of a new file called "login_login.html".


The quiz still functions correctly, and the questions are randomized, but I lose the login data. Has anyone seen anything like this before?

Discussions have been disabled for this post