Heh .. well that's the problem.  I though I would be really slick and store
all of the question ids and answers in a big multi-delimited list.  That
way, the database only gets hit twice .. once to create an entry for that
test session and again at the end to insert the list of questions and
answers.  It works pretty well and it's fast.  The only problem is when they
try to back up.  I haven't figured out how to manipulate the list that way
yet heh.  Plus, when they were on the page before, the id of the question on
that page was appended to the list.  So, if they backup and go forward
again, another question gets appended and the test thinks they have answered
more questions than they really have .. ugh!  Probably best just to leave it
alone.

Todd

----- Original Message -----
From: "Nick McClure" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Friday, December 21, 2001 2:04 PM
Subject: Re: Disable Back Button in Browser.


> I know how that feels.
>
> The way I did it. When they start the test you go ahead and create the
> records in the DB to hold their answers.
>
> Then on the page with the question you hold the info for that ID and just
> update the answer when they submit the form.
>
>
> At 01:54 PM 12/21/2001 -0500, you wrote:
> >I really do need to figure out a way to let them back up through their
> >questions .. but that's going to be a sucky undertaking, considering how
> >I've built this thing.
> >
> >Todd
______________________________________________________________________
Macromedia ColdFusion 5 Training from the Source
  Step by Step ColdFusion
  http://www.amazon.com/exec/obidos/ASIN/0201758474/houseoffusion

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to