Multiple PHP4 sessions w/ cookies?
| From: | Nicholas Pappas | Date: | Wed, 07 Jun 2000 13:39:09 +0000 |
| Subject: | Multiple PHP4 sessions w/ cookies? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1205@lists.php.net to get a copy of this message | ||
Hello all!
I just installed PHP4 and have been playing with the new
sessions. I typed the example from the docs in and discovered something I
feared... there is only 1 session cookie!
If I do not accept cookies, I can have two sessions running
independent of each other. But if I turn cookies on then the sessions
blur together. While this has it's advantages in some respects, I have at
least one situation where this isn't good.
So, my question is:
Is it possible to have more then 1 unique session id running when
using cookies? If so, is it possible to handle both situations (cookies
vs. no cookies) without any special assignments?
Many thanks for any help!
Nick