Re: Session destroy on window close.

From: Date: Sat, 05 May 2012 09:17:56 +0000
Subject: Re: Session destroy on window close.
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-30855@lists.php.net to get a copy of this message
Set the session lifetime to 0 2012.05.05. 11:15, "Vinay Kannan" <vinykan@gmail.com> ezt írta: > 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. >

« previous php.windows (#30855) next »