Re: Session deletion on window close?

From: Date: Tue, 22 Jan 2002 10:49:18 +0000
Subject: Re: Session deletion on window close?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-81510@lists.php.net to get a copy of this message
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 ??? Nick Wilson wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > * On 22-01-02 at 11:30 > * Neil Freeman said.... > > > Does anyone have any suggestions as to how I could achieve the > > following: > > a) Browser window closed by user clicking on [X] > > No but I'm sure someone will. > > > b) 'Logging out' page opened (which handles the PHP session deletion). > > When a user closes the browser (any browser) the session is ended. You > don't need to manually terminate it. > > HTH > - -- > > Nick Wilson > > Tel: +45 3325 0688 > Fax: +45 3325 0677 > Web: www.explodingnet.com > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > > iD8DBQE8TUBSHpvrrTa6L5oRAn45AJ4kltU6UKb+JCSamfgUfQ+e1CPIKACff0Xn > NlVo2ttprA1xjdLz6lB3DWg= > =BOV1 > -----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 --------------------------------

« previous php.general (#81510) next »