View Single Post
  #3 (permalink)  
Old June 3rd, 2007, 09:35 PM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This sounds like a simply issue with browser caching. When user hits back, they are getting the previous page from cache instead of from the server so that Y/N value isn't actually getting read.

If you set the Legalese page to immediate expiration then when the user back-arrows the browser will be forced to retrieve the page from the server (instead of cache). In the legalese page load, check for session value of "Y", and if it is, redirect to the PDF list so they get the desired "back" behavior.

I'm not sure how this will behave given that your legalese page is doing a postback before redirecting to the PDF, however. You might encounter some issues with that, but it's worth a try.

-Peter