Welcome Guest, Not a member yet? Register   Sign In
On the server, where is session information stored?
#1

[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.
#2

[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.
#3

[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[]);
#4

[eluser]WanWizard[/eluser]
That doesn't work, because as skunkbad already wrote, CI, doesn't use PHP's sessions.
#5

[eluser]Anonymous[/eluser]
Ahhh forgot about that, u'r right




Theme © iAndrew 2016 - Forum software by © MyBB