CodeIgniter Forums
CI Sessions - time_to_update - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: CI Sessions - time_to_update (/showthread.php?tid=14652)

CI Sessions - time_to_update - El Forum - 01-10-2009

I figure there must be a reason for this, so instead of setting it to a insanely high number (or 0, I imagine) I figured I'd find out...

What's the reasoning behind time_to_update? Every x seconds, it'll simply update the existing session with a new session_id.

The only reason I can think of is to do with session hijacking, but a constantly changing session_id makes using it in other tables (as a foreign key) a pain.