onUnload
| From: | Sichta Daniel | Date: | Wed, 29 May 2002 14:21:17 +0000 |
| Subject: | onUnload | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-14016@lists.php.net to get a copy of this message | ||
Hi,
apache, php 4.2.0, w2k
problem:
index.php:
<body .... onUnload="window.location.href='killsession.php';">
killsession.php:
session_start();
session_unset();
session_destroy();
When I open index.php in one browser everything works fine - session from
%session.save_path% just disappeared.
But when I open index.php in two or more browsers it just don't work !! All
session files still "sitting" in that directory !!
Can anybody help me plese ?
THX in advance
DAN