Re: [PHP4BETA] Hooray: QQ RE: [PHP4BETA] Docs for sessions?
| From: | Sascha Schumann | Date: | Thu, 22 Jul 1999 17:17:01 +0000 |
| Subject: | Re: [PHP4BETA] Hooray: QQ RE: [PHP4BETA] Docs for sessions? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2540@lists.php.net to get a copy of this message | ||
> Q) Although I am using cookies (and it works) <?=sid;?> is still outputting
> the session info.
> Is this right? How can I tell if the session id is coming from a cookie?
> Is there an easy way or is the easy way to check the COOKIES[] array for the
> session name I am interested in?
track_vars are probably disabled.
> Q) Can lots of session be active at the same time? Or only one?
In which context? In a request context, only one can be active.
In a server context, you can have as many sessions as you like.
> Q) "session_encode -- Encodes all session objects and properties to a string
> via serialize" -
> What kind of encoding does it do on objects fields and sub-objects?
That's currently broken. We will probably go for a PHPLIB-like
approach where only data fields are stored (simply because you
currently cannot serialize functions and other data).
--
Regards,
Sascha Schumann
Consultant