PROTECTED]
Sent: Thursday, October 21, 2004 5:54 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Two session for the same user, possible?
p.s. you can also designate a session ID. If you do this you may be able
to
have two sessions running concurrently. Never tried it myself, but it
should
work
Is it possible to have two sessions for the same user in php? If yes, how
can I implement this?
I am currently using one without problem. However, when I try to create a
second session, the first one is lost.
could you post some code. I am not sure I follow what you are doing.
--
PHP
There is only the one $_SESSION superglobal in PHP - and session_start
doesn't take any parameters - so the builtin sessions in PHP undoubtedly
aren't anticipating a need for this. If you are just trying to store
more data - you shouldn't have a problem, just use $_SESSION as an array
like
. [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 3:23 PM
To: Andre Matos
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Two session for the same user, possible?
Is it possible to have two sessions for the same user in php? If yes,
how can I implement this?
I am currently