RE: [PHP] Session problem in back button
| From: | Paul Fitzpatrick | Date: | Tue, 26 Aug 2003 17:13:18 +0000 |
| Subject: | RE: [PHP] Session problem in back button | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160692@lists.php.net to get a copy of this message | ||
Hi,
This will stop them seeing the login once they are in a registered
session
Only diplay the login form if NOT a registered session variable
'sessionname' (or some other session variable)
If (!isset($_SESSION['sessionname']))
{
//Display login form code goes here
}
Cheers.
-----Original Message-----
From: murugesan [mailto:mukeshgct@hotmail.com]
Sent: Monday, August 25, 2003 9:55 AM
To: murugesan; Cody Phanekham; php-general@lists.php.net
Subject: [PHP] Session problem in back button
Hello all,
Now i have a problem in back button.
After signing in when I click back button It goes to login page.
But
when I click the forward button it is going to the main page.
How can I prevent this.
-murugesan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php