RE: [PHP-WIN] Warning: Page has Expired, HELP
| From: | Manuel Ochoa | Date: | Fri, 27 Dec 2002 14:59:49 +0000 |
| Subject: | RE: [PHP-WIN] Warning: Page has Expired, HELP | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17561@lists.php.net to get a copy of this message | ||
Here is how I solved the problem assuming that you are running a session
After a successful login do this:
if ($step != 1)
$_SESSION['step']=1;
header(location: redirect.php);
}
else{
//Code for successful login
}
The redirect.php page simply redirects them back to the login page.