Use the code below...had the same problem, but if the page is not cached,
then it has to refresh when they hit the back button.  they will get a
message saying this, but it tells them to hit refresh because the page has
expired.  Never had a complaint here by doing this.

Christian

<cfoutput>
<CFHEADER NAME="Expires" VALUE="#now()#">
<CFHEADER NAME="Pragma" VALUE="no-cache">
<CFHEADER NAME="cache-control" VALUE="no-cache, no-store, must-revalidate">
</cfoutput>

-----Original Message-----
From: cf kaizen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 1:04 PM
To: CF-Talk
Subject: Auto Refresh 


Hi There,

Upon hitting the back button to go back to a page with
the twoSelectsRelated tag on it, the first select box
maintains its selected option, whereas the second
select box reverts to the options available had the
first option in the first select box been selected,
causing an error when the user resubmits the form. 

I've been trying to force a refresh of the page, but
my refresh code causes havoc on the two select boxes. 

Any ideas?

Thanks,
Andy



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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