CodeIgniter Forums
CI session - 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 (/showthread.php?tid=16514)



CI session - El Forum - 03-09-2009

[eluser]aryan_[/eluser]
I have heard that session in CI leaves cookie on client, so you have to rely on native php session for security reasons. Is this true?

Any solution to resolve this issue?

Thanks


CI session - El Forum - 03-09-2009

[eluser]pistolPete[/eluser]
How about reading the user guide?
Quote:The Session class stores session information for each user as serialized (and optionally encrypted) data in a cookie. It can also store the session data in a database table for added security, as this permits the session ID in the user's cookie to be matched against the stored session ID. By default only the cookie is saved. If you choose to use the database option you'll need to create the session table as indicated below.



CI session - El Forum - 03-09-2009

[eluser]cindor[/eluser]
hi!

there is a "native session" library already...

Native Session


CI session - El Forum - 03-09-2009

[eluser]aryan_[/eluser]
[quote author="cindor" date="1236623266"]hi!

there is a "native session" library already...

Native Session[/quote]

Thanks! Just want to make sure - Is it as safe as native php session?