Click to See Complete Forum and Search --> : Changing the function of the Refresh button


kaht
09-19-2003, 02:24 PM
Is there a way to overwrite the refresh button to take you back to a different page instead of reloading the same page. The reason I ask is because on my data processing page I have the page set to expire when someone presses the back button to resubmit the data. However, when they come to the Page Expired message, they can press the refresh button to resubmit the data, and I'd rather have it take them back to the login screen. Any tips/clues are appreciated.

Thanks
-kaht

chrismartz
09-20-2003, 02:07 PM
you could try setting and deleting cookies. on the page you want to refresh have the cookie that was set by the last page be deleted and if the cookie can't be found have it go to the page you want

chrismartz
09-20-2003, 02:07 PM
you could try setting and deleting cookies. on the page you want to refresh have the cookie that was set by the last page be deleted and if the cookie can't be found have it go to the page you want