Re: Sessions within new windows

From: Date: Wed, 05 Nov 2003 14:40:12 +0000
Subject: Re: Sessions within new windows
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168560@lists.php.net to get a copy of this message
Are you using _blank as target. Then try a named window. But this is just a wild guess. Donald Tyler wrote:
Just a quick update: It seems to only be a problem with Internet Explorer on the PC. Both IE & Safari on MacOSX work as expected. -----Original Message----- From: Donald Tyler [mailto:dtyler@frazerbilt.com] Sent: Wednesday, November 05, 2003 8:17 AM To: php-general@lists.php.net Subject: [PHP] Sessions within new windows Hi, Not sure if this is a PHP or Browser issue but here is my problem: I have a site that has a members section. In the news area, when a user clicks the link for an article, it pops open a new window a requests the article via a PHP script. What's happening is that when the new window pops up, the script isn't getting the session info properly. I changed it so that the page opens up in the main window instead of a new one and it works fine. I presume this is because the browser is not sending the session ID to the script when opening the new window. Does anyone know of a way for me to fix this without embedding the session ID in the URL? I thought the only criteria that the browser used when deciding if to send a Session ID or not was if the page is located at the same domain name. P.S. Its Internet Explorer 6 I am using. Thanks.


« previous php.general (#168560) next »