Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A conditional response.expires with the back button

Status
Not open for further replies.

wrbodine

Programmer
Aug 24, 2000
302
US
I have a page that, when sumbitted, redirects to another page and displays some of the info they entered so they can print it out. I added the code to the first page with response.expires so the page will expire when the click on the back button. This works great for when they submit the page normally.

Is there any way I can have the page not expire when they click the back button in cases where they didn't actually submit the form yet? An example would be when they were starting to fill out the form, checked their e-mail and clicked a link from an e-mail message that brought up the same browser, and then just wanted to click the back button and keep working on the form.

So basically I only want the page to expire when they click the back button coming from one specific page. Is there a way to track what page the user is coming from when they click the back button?

Thanks,
Ray
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top