RE: Two session for the same user, possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matt,

I have developed two different web systems that use php sessions. When I a
user log into one system, the system creates a session and storage on it one
object called UserSession with some information that I need while the user
works with the system.

My problem is when the user decides to open the second system without log
out from the first one that he logged, using a new window (crtl+N) from the
same browser. This second system creates also an object called UserSession,
but with different properties and this new object from the second system
overwrites the object from the first system. This is my problem. Can I make
PHP understand that this is a complete different session?

Thanks.

Andre 

--
Andre Matos
andre.matos@xxxxxxxxxxxx 

-----Original Message-----
From: Matt M. [mailto:h.dudeness@xxxxxxxxx] 
Sent: Thursday, October 21, 2004 3:23 PM
To: Andre Matos
Cc: php-db@xxxxxxxxxxxxx
Subject: Re:  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 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 Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux