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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cookie Question

Status
Not open for further replies.

msjfc615

Programmer
Feb 26, 2004
13
US
I am trying to stop the user from being able to go back to the previous page. In doing so I decided to write a cookie to on the next page and if that cookie exists I do not want it to run the page but rather tell the user they can not reaccess the page. My question is after the cookie is set is not read if I use the back button however if I go to the page manually,the one I dont want the users to be able to access when they press the back button, it will tell me I can not access the page which is what I want. Why does it not read the cookie when I press the back button.
 
When you press the 'back' button through your browser, you're not reloading the page, but rather you're displaying the cached web page.

*cLFlaVA
----------------------------
A polar bear walks into a bar and says, "Can I have a ... beer?"
The bartender asks, "What's with the big pause?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top