note 32510 added to ref.session
| From: | YAVUZ at rack1 dot php dot net | Date: | Thu, 29 May 2003 19:43:40 +0000 |
| Subject: | note 32510 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49276@lists.php.net to get a copy of this message | ||
I am trying to find a way to automatically destroy a session when the browser window is closed or if
the user leaves my site. Otherwise, there are a bunch of open sessions.
Is this possible?
I tried some javascripts but since there are forms involved, window.unonload or .onbeforeunload does
NOT work.
Any ideas?
Thanks
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32510
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32510&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32510&report=yes