CodeIgniter Forums
Session expiry - 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: Session expiry (/showthread.php?tid=7412)



Session expiry - El Forum - 04-08-2008

[eluser]Andy Harris[/eluser]
Hi guys - quick one, I'm confused with how I get the CI session to end when browser session ends (if this is possible).

In the docs it states that expiration of 0 is non-expiring and there doesn't seem to be an option for what I need.

However, this post contains a patch but that appears to be right back at CI version 1.5.4.

Is this patch still good to go, or is there a way to do it in 1.6.1 by default?


Session expiry - El Forum - 04-08-2008

[eluser]Andy Harris[/eluser]
Is anyone able to help with this? I thought it was going to be a fairly easy one and I was just being a spooner!


Session expiry - El Forum - 05-24-2008

[eluser]davetao[/eluser]
I just added the patch on and it is good to go..