CodeIgniter Forums
how to stop sessions being updated? - 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: how to stop sessions being updated? (/showthread.php?tid=7315)



how to stop sessions being updated? - El Forum - 04-03-2008

[eluser]steel_slasher[/eluser]
i realised that when a session is updated all the userdata is removed and i cant think a way to stop this without setting the "sess_time_to_update" variable to 2 years.


how to stop sessions being updated? - El Forum - 06-20-2008

[eluser]pawz[/eluser]
old question but I concur, why must sessions be updated ? I'd really prefer to have the OPTION at least of having them not update, without hacking the core functionality of the code.

Not possible ?

-UPDATE-

just realised you can do so by setting it to false. my bad !