Hi all, i got a problem in my php web, i got error page that show "webpage has expired"
when i want to go to previous page. Why it happen?? It happen sometime.. Do you have any idea to solve it?? Thanks for your sincerely help..

5 Years
Discussion Span
Last Post by HasNor

sorry mr ardav, can you explain me more detail? i don't understand you.
Thank you for your reply..


ardav is saying that without code we can't help you very much. Usually you get the "Webpage Expired" message when data has already been submitted to a form and you try to hit the "Back" button on your browser. This will normally throw an error / warning message because it may result in you re-submitting the data to the page.


thanks all.. it just my session code problem..
actually i've this code for every page that will avoid the problem if user turn back to previous page when they are using IE..

header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: post-check=0, pre-check=0",false);

then, it solved already..
Thanks for your reply..

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.