CodeIgniter Forums
Difference between CI session and PHP session - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter Archived (from EllisLab) (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Difference between CI session and PHP session (/thread-7823.html)



Difference between CI session and PHP session - El Forum - 04-24-2008

[eluser]gabe[/eluser]
What is the difference between these?

More importantly, why is CI session better?

A PHP session stores data on the server, CI in a cookie. To me server-side storage looks better.


Kind regards


Difference between CI session and PHP session - El Forum - 04-24-2008

[eluser]gtech[/eluser]
[url="http://www.derekallard.com/blog/post/enhanced-codeigniter-session-library/"]http://www.derekallard.com/blog/post/enhanced-codeigniter-session-library/[/url]

I found this link on Derekallard.com where I think he answers your question if you look at the user comments after the 1st dark gray box.