Warning: Page has expired.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
seodevhead
Forum Regular
Posts: 705
Joined: Sat Oct 08, 2005 8:18 pm
Location: Windermere, FL

Warning: Page has expired.

Post by seodevhead »

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!
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

See what happens when you switch from $_POST to $_GET
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

Yeah, I don't know the exact reason why this happens, but it seems to happen to me when using sessions. It will be because of security or something.
Post Reply