Page 1 of 1

Destroy session on browser close

Posted: Fri Jan 05, 2007 2:51 pm
by kingconnections
Is there a way to expire sessions as soon as the browser is closed. So that regardless next time they would have to relogin?

Thanks in advance!

Posted: Fri Jan 05, 2007 2:56 pm
by arukomp
Doesn't sessions destroy themselfs on browser close? i read somewhere that they do

Posted: Fri Jan 05, 2007 3:11 pm
by Luke
unless you specify otherwise

Posted: Fri Jan 05, 2007 3:20 pm
by kingconnections
oh - hmmm wierd so, I was having an issue where if i explictly did not unset and destroy the session you could come back to that page later and it would still display the client data. Let me see if that is still the issue.