CodeIgniter Forums
Is a 3rd party session library recommended for CI 1.6.3? - 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: Is a 3rd party session library recommended for CI 1.6.3? (/showthread.php?tid=9903)



Is a 3rd party session library recommended for CI 1.6.3? - El Forum - 07-12-2008

[eluser]Unknown[/eluser]
I have run across a few sources (Redux Auth & FAL) that suggests replacing CI's session library with a 3rd party library. Was this for previous versions of CI or is this still recommended for CI 1.6.3?

Thanks!


Is a 3rd party session library recommended for CI 1.6.3? - El Forum - 07-12-2008

[eluser]Steve Grant[/eluser]
As far as I'm aware, nothing's changed regarding sessions between 1.6.2 and 1.6.3.

The CI class doesn't utilise the native PHP session class, which means that (unless you use a third-party session library/plugin) if a user doesn't allow cookies in their browser, you won't be able to retrieve or set any session data. Which is annoying.


Is a 3rd party session library recommended for CI 1.6.3? - El Forum - 07-12-2008

[eluser]Unknown[/eluser]
Thank you for the response! This would explain my session issues in general. Is there a 3rd party session library that you would recommend for CI 1.6.3?

Thanks!


Is a 3rd party session library recommended for CI 1.6.3? - El Forum - 07-12-2008

[eluser]Rick Jolly[/eluser]
[quote author="Steve Grant" date="1215886793"]The CI class doesn't utilise the native PHP session class, which means that (unless you use a third-party session library/plugin) if a user doesn't allow cookies in their browser, you won't be able to retrieve or set any session data. Which is annoying.[/quote]
Native sessions use a cookie as well - for the session id.