CodeIgniter Forums
session lib need advice - 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: session lib need advice (/showthread.php?tid=18054)



session lib need advice - El Forum - 04-24-2009

[eluser]quasiperfect[/eluser]
hi

i need advice from someone that worked with the third party session libs
i don't know with one to use.

i need the lib to :
- be compatible with php native session (to access data $_SESSION['var'])
- to be a complete compatible replacement of ci's session class 1.7.1 (have the same functions etc.)
- to store the sessions inside a db
- the sessions have to expire when the browser is closed

thanks in advance for u'r advice


session lib need advice - El Forum - 04-26-2009

[eluser]quasiperfect[/eluser]
nobody ?


session lib need advice - El Forum - 04-26-2009

[eluser]crispyslice[/eluser]
I havn't been able to look through it entirely to see if it meets your needs, but a quick glance seems to suggest that Native Session meets your needs perfectly. Of course, there are always alternatives and I suggest that you look here (scroll down) for more options. :coolsmile:

Just out of interest, why do you need specific access to $_SESSION? I found that $this->session->userdata("item") was a better solution.


session lib need advice - El Forum - 05-14-2009

[eluser]quasiperfect[/eluser]
because i want to integrate a forum and a lot of other stuff so i need to pass data from ci to other applications