CodeIgniter Forums
Advantage of using CI session with an use of database - 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: Advantage of using CI session with an use of database (/showthread.php?tid=48214)



Advantage of using CI session with an use of database - El Forum - 01-08-2012

[eluser]WebMada[/eluser]
Hello!

Till now, I still use PHP session with $_SESSION because I don't understand what is the advantage of using CI session class instead of PHP one?
I hear that using CI session class with an use of db is better than not use db!?

Can someone enlighten me? Using it is a security forfeit against CSRF attack for example?

Thanks in advance.