• Post Reply Bookmark Topic Watch Topic
  • New Topic

page expiry

 
Abhinav mathur
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I have few pages in my application which tend to expire if I go back from the browser button, while few of them don't expire.

I am quite not able to follow what makes the pages to expire if you use back button of browser.

Any ideas ....

regards,
Abhinav Mathur
 
Sumit Deshpande
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using "post" to submit a form then you will get a "page expired" message when you press back button. But if the method is "get" then you won't.

-Sumit.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sumit Deshpande:
If you are using "post" to submit a form then you will get a "page expired" message when you press back button. But if the method is "get" then you won't.

-Sumit.


That's half true. If the browser doesn't cache a page that was the result of a POST request, then the page is expired.
 
Abhinav mathur
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys,
Both in combination are correct, set cashe to none and have a page submit the values.
cheers,
Abhinav Mathur
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!