CodeIgniter Forums
Old fashion sessions behaviour - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Old fashion sessions behaviour (/thread-5990.html)



Old fashion sessions behaviour - El Forum - 02-11-2008

[eluser]Joel Fernandes[/eluser]
Hello,

I need to use CI's session like PHP's session, that is, if I close my browser I need to flush my session data. How can this be done with the CI's Session Library?

Thank you


Old fashion sessions behaviour - El Forum - 02-11-2008

[eluser]Joel Fernandes[/eluser]
Well, I've found how to do this, just applied this patch: http://ellislab.com/forums/viewthread/70036/