This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Page Has Expired Error  RSS feed

 
Raj Mama
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
when i click back button of browser i am getting message "page has expired"
actually when i am posting date with post method,then if click back button i am getting this message.
please any body faced this problem before please advise me

Thanks in advance
Raj
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, and it's been discussed here quite a bit.
Search for 'cache' or 'expired' and you will probably find several discussions.

In short if the last page was the result of a POST request and it isn't cached in the browser, the browser will warn you that requesting the page again (which is needed if the page isn't cached) will result in the for being posted to the server again.

Most people solve this be redirecting to a page after a form submission.
This causes the last page to be the result of a GET request, not a POST request.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!