From: "Michael Gale" <[EMAIL PROTECTED]>

I have a small issue with sessions, at the moment I am using sessions on our web site and storing the session
information in a db_table. It is working great. Right now I am only storing the users ID, name and role in the session
data, but I would like to store other information as well. The problem is ... that if that person opens another browser
window and connects to the site another session is not created.


So if I try and store a variable that would be unique to each window it would get over written. Is this a configuration
problem ?

Session are identified by a cookie (by default). No matter what window or how many windows the user has, the same session ID is going to be sent in a cookie when a request is made to your site. So there's no way to tell the requests from different windows apart.


Why do you really need to know if a new window is opened or not?

---John Holmes...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to