Re: http_session_vars
| From: | Ernest E Vogelsinger | Date: | Thu, 13 Mar 2003 22:40:26 +0000 |
| Subject: | Re: http_session_vars | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139617@lists.php.net to get a copy of this message | ||
At 22:17 13.03.2003, rotsky said:
--------------------[snip]--------------------
>I thought session vars were either POSTed or passed via cookies...
--------------------[snip]--------------------
No - you're mixing up the session identifier and session data.
The session identifier is just an arbitrary key to a server-side storage
where session data is stored. The session identifier (aka SID) is
effectively passed either via cookie, or via $_REQUEST parameter.
Session data (the $_SESSION array, to be specific) will always be stored
server-side, by default in a session file. The default filename is sess_<SID>.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/