[PHP] Re: Destroying the Session Object

2005-03-24 Thread Jason Barnett
Jacques wrote: > How can I destroy the session object for a particular user when that user > leaves my web site without properly signing out? > > Jacques The most important part of this is "garbage collection." You can't really know for 100% sure that a user has left without properly signing out,

[PHP] Re: Destroying the Session Object

2005-02-19 Thread Jason Barnett
pete M wrote: > here's the way I do it Depends on what you're going for exactly. Based on what the OP said I believe he'll also want to destroy the session cookie. If you want to completely destroy the session you need the extra step that I copied and pasted from the manual. :) > > logout.php

[PHP] Re: Destroying the Session Object

2005-02-19 Thread pete M
here's the way I do it logout.php Jacques wrote: I am developing an application. When the user signs in a Session ID is created (for argument sake: 123). I have a sign out page that has the script session_destroy() on it. This page directs me to the sign in page. When I sign the same or any oth