CodeIgniter Forums
Doubt about Session - sess_time_to_update - 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: Doubt about Session - sess_time_to_update (/showthread.php?tid=51161)



Doubt about Session - sess_time_to_update - El Forum - 04-23-2012

[eluser]soprabaixar1[/eluser]
What effect does the config "sess_time_to_update" (config / config.php)?

I read in the documentation and did some testing, but I could not understand the advantages and disadvantages of using this configuration.
Bearing in mind that whenever you add or change or delete the session the session already updates the database

I know that it changes the session_id in the database, but with what purpose?


Doubt about Session - sess_time_to_update - El Forum - 04-23-2012

[eluser]WanWizard[/eluser]
This is a good start: http://segfaultlabs.com/files/pdf/php-session-security.pdf