Re: [PHP] Cannot destroy session cookie

2001-04-18 Thread Johannes Janson
Hi, how about setting a expiry time for the cookie. Like 45 min after logging in or whatever suits your needs. You could use session_set_cookie_params() and set the cookie lifetime to 0. That would at least prevent a login after the browser window is closed. Your site is nice by the way. cheer

Re: [PHP] Cannot destroy session cookie

2001-04-18 Thread Jens Kisters
> Why destroying it "before" a user logs in? Isn't it In case the user did not log out properly, his session would still be marked as valid & logged in > better to start the session "after" a successful login? starting works fine, restarting is the problem > And then destroying the session whe

Re: [PHP] Cannot destroy session cookie

2001-04-18 Thread Johannes Janson
Hi, Why destroying it "before" a user logs in? Isn't it better to start the session "after" a successful login? And then destroying the session when the user logs out. Or did I get it wrong. A few lines of code would help to understand. Johannes "Jens Kisters" <[EMAIL PROTECTED]> schrieb im Ne

[PHP] Cannot destroy session cookie

2001-04-18 Thread Jens Kisters
Hi there, i'm having a little trouble with cleaning up sessions. I have a login page that sets a certain session variable that is used to determine wether a user is logged on. When the user has cookies turned on the application recognizes the running session an resumes it, that also happens on the