Re: Session deletion on window close?

From: Date: Tue, 22 Jan 2002 11:34:17 +0000
Subject: Re: Session deletion on window close?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-81520@lists.php.net to get a copy of this message
Actually PHP has a "garbage collector" that periodically it "cleans" deletes all those old session files. I believe you can set the time it cleans these files up in the php.ini file. Now that you know where to look a search should be able to answer this question more fully than I can and with more guidelines on how to regulate it. I hope this helps! Rick I remember a man of some standing who once came to see me and told me that a friend of his who claimed no small spiritual achievements had offended him; "Who should go and make his peace with the other?" he asked. "I can not answer your question," I replied, "as I cannot possibly set myself as a judge between you, but one thing is certain to me; the meanest of the two of you will wait for the other to make the move." The great man said no word, but went forthwith to make his peace with his friend. - Unknown > From: Neil Freeman <neil.freeman@asa.co.uk> > Date: Tue, 22 Jan 2002 11:08:23 +0000 > To: PHP-General <php-general@lists.php.net> > Subject: Re: [PHP] Session deletion on window close? > > OK I'll have a look around. Thanks for your time Nick. > > Nick Wilson wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> * On 22-01-02 at 11:46 >> * Neil Freeman said.... >> >>> OK I agree with you there :) But as I haven't called the session_destroy() >>> function the session file still resides in the session.save_path directory. >>> Over time the number of these files will obviously increase so isn't it >>> better to implement a method which calls the session_destroy() function ??? >> >> I see what you mean but I think you are either a: mistaken or b: under a >> misaprehension. The reason I say this is that I can't believe that >> *something* be it PHP or the system itself won't take that in to >> account. >> >> Have a look at the manual or whatever and if you find the answer please >> let me know as it's a good point. I just think I've seen something about >> it somewhere :) >> >> - -- >> >> Nick Wilson >> >> Tel: +45 3325 0688 >> Fax: +45 3325 0677 >> Web: www.explodingnet.com >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.0.6 (GNU/Linux) >> >> iD8DBQE8TUWAHpvrrTa6L5oRAoCKAJ9/YaNP4lYEnRqXc4YABWpj/kS8OwCcCW3g >> dx3GdbUs4s75a8PBl4zdC3Q= >> =7c8g >> -----END PGP SIGNATURE----- >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >> For additional commands, e-mail: php-general-help@lists.php.net >> To contact the list administrators, e-mail: php-list-admin@lists.php.net >> >> *************************************************************** >> This message was virus checked with: SAVI 3.52 >> last updated 8th January 2002 >> *************************************************************** > > -- > -------------------------------- > Email: neil.freeman@asa.co.uk > neil_freeman@yahoo.com > -------------------------------- > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#81520) next »