Re: Warning: Page has Expired

From: Date: Wed, 11 Jul 2001 15:33:15 +0000
Subject: Re: Warning: Page has Expired
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10290@lists.php.net to get a copy of this message
You can also change your form to use the GET method instead. That works without changing your php.ini file. But don't use GET methods for logging in or passing secure information. It's much more insecure than POSTing (not that POSTing variables is a 100% secure method, either)... "Keith Spiller" <larentium@gilanet.com> wrote in message news:003401c10a0f$6bd7da60$3083140a@aristotle... I've setup a members directory in mysql that is searchable via different field and I limit the number of records. I use session variables to remember the number of records to display, what the starting record is, what the search string and search fields are. At anytime a user can click on an id number to do a Select statement that queries for that single row of data. Afterward, if the user hits their browsers back button I get: "Warning: Page has Expired" I've noticed allot of sites just ask the user to not use the back button. I'm curious if this is caused by an error in my code or because I used session variables that might have changed in the last MySQL select query. So that when you hit back, the browser is using some sort of cached data while still loading the php code? I'm very confused at this point. Is there anything I can do to prevent the "Expired Page" warning, rather than expecting my viewers to learn to do without it. Keith Spiller webtech@centerstone.org

« previous php.db (#10290) next »