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