Re: Session destroy on window close.
Ferenc Kovacs <[email protected]>
| Newsgroups | gmane.comp.php.windows |
|---|---|
| Message-ID | <CAH-PCH6RPf0Mmmi8ymhSSzNqzTyeyvnJHWGZMH_LvbkV+7izTg@mail.gmail.com> |
Set the session lifetime to 0 2012.05.05. 11:15, "Vinay Kannan" <[email protected]> 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. >