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

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

 



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.
.

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux