There are a couple things you can do.  You can clear the struct out
automatically after you 
do whatever you are doing with it on the next page so if they do hit back
it's cleared out.
OR if it's being put into some database you can always double check upon
entering that they
aren't submitting info that was just submitted. We ran into this before and
simply set
a session variable on the 2nd page (after all the data was done being
processed) so if they do hit back and try to submit again and it notices
that session variable is set and we throw an error.
Kelly

-----Original Message-----
From: Bill Mee [mailto:[EMAIL PROTECTED]] 
Sent: Monday, November 19, 2001 4:40 PM
To: CF-Talk
Subject: How do I prevent a user from backing up to a previous page.


Aside from both expiring and disabling caching of a previously visited page
I want to warn the user that when they depresss the backup button on the web
browser that the previous page has expired. I am progressively gathering
data on subsequent pages which is entered into a struct array and I do not
want the user to reenter the same data into the struct (passed in a wddx
client vaiable) which will happen if they backup then move forward.

Any ideas on how to deal with this?

Bill

FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to