CodeIgniter Forums
About session - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: About session (/showthread.php?tid=70122)



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