no, it's only the logout code.
i use session_start(); on all other pages.
not sure whether this is the right fix, but i have to expire the PHPSESSID cookie by adding the following code to the above logout script:
setcookie ("PHPSESSID", "", time() - 3600);
i want to get away from using cookies, and tried by setting the following in php.ini
session.use_cookies = 1
but then my script stopped working, with none of the session variables set. what is the right way to set and delete session variables while not using cookies?