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:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 9:55 AM To: murugesan; Cody Phanekham; [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php