Session destroy on window close.
| From: | Vinay Kannan | Date: | Sat, 05 May 2012 09:14:55 +0000 |
| Subject: | Session destroy on window close. | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-30854@lists.php.net to get a copy of this message | ||
Hi Guys,
Any idea as to how we can destroy a PHP session on window close and not
only when the user clicks on logout link? There is a chance that the same
application can be used by different users with different
access privileges on the same computers. Right now m entirely depending on
$_SESSION variables to define the access privileges to each user, is this
the best method in terms of security?
Thanks,
Vinay Kannan.