CodeIgniter Forums
About session - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: About session (/thread-70122.html)



About session - omid_student - 02-24-2018

Hi
When we set sess_expiration to 0,session destroy when user close browser
How do codeigniter detect use close browser for destroy session?
Thanks


RE: About session - InsiteFX - 02-24-2018

By the cookie that it creates it is destroyed when the browser closes.


RE: About session - omid_student - 02-24-2018

(02-24-2018, 10:15 AM)InsiteFX Wrote: By the cookie that it creates it is destroyed when the browser closes.
Thanks Heart