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..

Member Avatar for diafol

My crystal ball says that you have not shown your code...

commented: haha and he didn't get it ^__^ +5

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.

ha ha he think we are able to read minds :D

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);
session_cache_limiter("must-revalidate");

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.