RE: [PHP] Poblem with sesions

2007-02-19 Thread Peter Lauri
- From: Ashish Rizal [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 12:26 AM To: php-general@lists.php.net Subject: [PHP] Poblem with sesions Hi , I am having problem with log in and log out . I have a main login page where one can login with the username and password stored in mysql

[PHP] Poblem with sesions

2007-02-19 Thread Ashish Rizal
Hi , I am having problem with log in and log out . I have a main login page where one can login with the username and password stored in mysql database. PHP Code: location.href='$adminAddress'; exit(); } else if ($accesslevel == "user") { $_SESSION['level'] = "user"; $_SESSION['username'] = $_P