hello
i need a help to log out session when browser is closed ...can anyone provide me the code
THANK YOU IN ADVANCE
how 2 end session automatically when browser is closed
Moderator: General Moderators
-
cavemaneca
- Forum Commoner
- Posts: 59
- Joined: Sat Dec 13, 2008 2:16 am
Re: how 2 end session automatically when browser is closed
if you are using any $_SESSION['variable'] it should be erased anyway when the browser is closed. If you use cookies to very session then maybe that's why it stays logged in. Also, set up a script to write into the cookie how long until it expires.
Re: how 2 end session automatically when browser is closed
THANKS YOU
I am using session...
I am using session...