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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> ***************************************************************
>  This message was virus checked with: SAVI 3.52
>  last updated 8th January 2002
> ***************************************************************

--
--------------------------------
 Email:  [EMAIL PROTECTED]
         [EMAIL PROTECTED]
--------------------------------



-- 
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