![]() |
CI Session question - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: CI Session question (/showthread.php?tid=27520) |
CI Session question - El Forum - 02-13-2010 [eluser]bogdan3l[/eluser] Hello! I use the ci session library with my database and i have a question: - how ci sessions stored in the database are deleted? I have sessions from last week and are not deleted... Any help? Thanks a lot! CI Session question - El Forum - 02-13-2010 [eluser]ChiefChirpa[/eluser] _sess_gc is called whenever you create a session, this function randomly (5% chance) deletes all sessions older than your sess_expiration value. Also individual sessions are destroyed if they time out, fail to validate, etc... Take a look at the Session library... CI Session question - El Forum - 02-13-2010 [eluser]bogdan3l[/eluser] Ok, thanks a lot. |