Hi Jeremy,

session_destroy() should not destroy all your sessions.  As per the manual:

session_destroy() destroys all of the data associated with the current 

If you are having trouble with all your sessions being deleted in each run, 
it may be a problem with these php.ini file settings:

session.gc_probability specifies the probability that the gc (garbage 
collection) routine is started on each request in percent. Defaults to 1. 

session.gc_maxlifetime specifies the number of seconds after which data will 
be seen as 'garbage' and cleaned up. 

You can find all the php session info at:

On Friday 17 August 2001 11:29 am, you wrote:
> Hi there, I was wondering if a function such as session_close() or
> session_stop() existed. You see, i've been using session_destroy and/or
> session_unregister but the problem is that they unregister and/or destroy
> ALL my sessions in my server folder. What I am trying to do is just stop
> the session that is going on in that particular page? How can I do this?

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to