Click to See Complete Forum and Search --> : return select box to original state


adrock
03-11-2003, 03:54 PM
Is there anyway I can make a select box return to it's default value if the user clicks the back button? Currently it goes to whatever value was selected by the user if the back button is used.

Thanks in advance for your help.

khalidali63
03-11-2003, 04:09 PM
That is because the page is served from cache and it remembers the setting,if there caching was not enabled,theoretically, it whould reload the page every time.


Cheers

Khalid

pyro
03-11-2003, 04:22 PM
Here is an untested shot in the dark... ;)

Add to your <head>

<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="Pragma" content="nocache">