Curly and annoying. Session vars and uniquely identifying a browser window.

From: Date: Sat, 19 Mar 2005 22:25:03 +0000
Subject: Curly and annoying. Session vars and uniquely identifying a browser window.
Groups: php.windows 
Request: Send a blank email to php-windows+get-25776@lists.php.net to get a copy of this message
Hi all, I use the php script name as a key in the $_SESSION array to store script specific variables. The problem with this approach is that if a user fires up multiple browser windows, they share the same $_SESSION data. So then if they use the same script in two different browser windows, I get this cross-pollution of $_SESSION variable states. The dream solution to this would be to have some ability to uniquely identify a clients browser window and incorporate this into the $_SESSION key along with the script name. Does anyone know if this is possible, or alternatively another way of avoiding the issues I am faced with? Thanks ... Ross . . Ross Honniball. JCU Bookshop Cairns, Qld, Australia. .

« previous php.windows (#25776) next »