Try looking at register_shutdown_function at
http://www.php.net/manual/en/function.register-shutdown-function.php
I am using this in my logon script:
function close()
{
if (connection_aborted() > 0)
{
@session_destroy();
}
}
register_shutdown_function("close");
Best regards,
Thomas D. Kryger
FICS Danmark
-----Original Message-----
From: Jan Walter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 17, 2001 11:06 AM
To: Ignatius Teo; PHP Mailing list
Subject: Re: [PHP-WIN] Sessions/security
Ignatius Teo wrote:
> Have a look at http://phplib.netuse.de
I am afraid it does not work as I described, because if I visit another
site, go back and refresh, everything seems ok.
--
____________________________________________________________________________
______________
============================================================================
==============
Jan Walter, called John
LERACH, s.r.o.
phone nr. work: +420-2-782 28 02, home: +420-2-35 35 27 61
on emergency call: +420-602-385 760
work e-mail mailto:[EMAIL PROTECTED]
private e-mail mailto:[EMAIL PROTECTED]
ICQ#: 28353428
____________________________________________________________________________
______________
============================================================================
==============
--
PHP Windows 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]