Welcome Guest, Not a member yet? Register   Sign In
Session destroy on close browser
#1

[eluser]JanDoToDo[/eluser]
Hey guys

Just wondering - My session doesn't seem to be destroyed when the browser is closed. Is this a 'feature' of CI's session class or do i have to do something special?
#2

[eluser]richzilla[/eluser]
CI Sessions use cookies to store the data. When you close the browser,all of your cookie data will still be there, unless you've deleted your browsing history. The cookie will stop being 'valid' when it expires, which is 5 minutes in a default CI application.

Hope this helps.




Theme © iAndrew 2016 - Forum software by © MyBB