[PHP] Distinguishing between multiple browser windows for the same php session

2005-09-03 Thread Chris Stenton
I need a way of setting the session_vars specific to a users browser window for the case of the user having multiple windows open for the same php session. Is this possible in php? I know you can pickup the window id via self in JavaScript but I can't see how you can link this back to the server

Re: [PHP] Distinguishing between multiple browser windows for the same php session

2005-09-03 Thread Gustav Wiberg
Hi there! ?php echo $_SELF;? ? /G @varupiraten.se - Original Message - From: Chris Stenton [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, September 03, 2005 10:01 AM Subject: [PHP] Distinguishing between multiple browser windows for the same php session I need

Re: [PHP] Distinguishing between multiple browser windows for the same php session

2005-09-03 Thread Jasper Bryant-Greene
Gustav Wiberg wrote: ?php echo $_SELF;? ? Please don't top-post [1]. This will not work. $_SELF isn't even a defined variable, unless you defined it yourself. PHP works on the server, *before* anything is sent on the client, so it has no way to know client-side things like what browser