On the server, where is session information stored? - 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: On the server, where is session information stored? (/showthread.php?tid=43411) |
On the server, where is session information stored? - El Forum - 07-10-2011 [eluser]bobdobbs[/eluser] Hi. I'm learning about sessions and ci's session class. I understand that session information is stored on the server for every session. On my testing server, when I have set up sessions, where in the file system do I go in order to inspect the server-side parts of sessions? Thanks. On the server, where is session information stored? - El Forum - 07-10-2011 [eluser]skunkbad[/eluser] [quote author="bobdobbs" date="1310362565"]Hi. I'm learning about sessions and ci's session class. I understand that session information is stored on the server for every session. On my testing server, when I have set up sessions, where in the file system do I go in order to inspect the server-side parts of sessions? Thanks.[/quote] Actually, because CI doesn't use real php sessions, the "session" data is really stored in a cookie, which lives in the browser. No data is stored on the server unless the database functionality is implemented. On the server, where is session information stored? - El Forum - 07-11-2011 [eluser]Anonymous[/eluser] The session data isn't stored in a flat file. In case you want to see the contents of the session: Code: var_dump($_SESSION[]); On the server, where is session information stored? - El Forum - 07-11-2011 [eluser]WanWizard[/eluser] That doesn't work, because as skunkbad already wrote, CI, doesn't use PHP's sessions. On the server, where is session information stored? - El Forum - 07-11-2011 [eluser]Anonymous[/eluser] Ahhh forgot about that, u'r right |