CodeIgniter Forums
Autoclose sessions and update sessions - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Autoclose sessions and update sessions (/showthread.php?tid=5331)



Autoclose sessions and update sessions - El Forum - 01-17-2008

[eluser]andreiu81[/eluser]
Hello


I want to develop a website with CI framework. I see that CI has a different wat to work with _SESSION.

My problem is how I keep a user logged in during website browsing and when i close the browser to make a user log out(like session destroy).

Now when i close the browser and open again i see that user is still logged in.


Also is there any way to update the "session" during website browsing not to let the session expire.


Thank you