Web Hosting Talk







View Full Version : Warning: Page has expired


seodevhead
12-15-2005, 10:51 PM
Hey guys, I coded a php script that includes a FULLTEXT search that is through a $_POST form in PHP. It works great, however after the search, the user clicks on the result (which links to another page)... but then when they hit the back button.. they get a:

Warning: Page has expired. (Internet Explorer)

I notice that a lot of websites do this (ie. Amazon.com)... but I find it annoying. I certainly have been to websites that do not have this problem. Any ideas how to avoid it? or what causes it? Thanks and merry xmas!

Jatinder
12-15-2005, 11:38 PM
Use GET in the action attribute of your form. You will need to use $_GET to retrieve the data in PHP