RE: [PHP] Sessions within new windows
| From: | Pablo Gosse | Date: | Wed, 05 Nov 2003 20:24:55 +0000 |
| Subject: | RE: [PHP] Sessions within new windows | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-168620@lists.php.net to get a copy of this message | ||
Hmmmmmm, that's strange.
I use Javascript functions to control the few pop-up windows in the CMS,
but I just went in and changed some to standard href tags with the
_blank for the target attribute, as you have, and it still works with no
problem.
If, as Chris wrote, this is indeed a feature/bug of IE, then it must be
configurable somewhere, though I'm lost as to where that might be.
I just tested it out on a number of systems around here, both on a
Windoze 2000 box and on a RedHat box using a Terminal Services
connection, and it worked fine for me.
Does anyone have any ideas how this could be controlled via IE's
settings?
Cheers,
Pablo
-----Original Message-----
From: Donald Tyler [mailto:dtyler@frazerbilt.com]
Sent: Wednesday, November 05, 2003 11:48 AM
To: php-general@lists.php.net
Subject: RE: [PHP] Sessions within new windows
I am using a normal link. Here is the exact html code:
<a href="View_Article.php?ID={ID}" target="_blank"><img
src="../Images/view.gif" width="22" height="22"
border="0"></a>
-----Original Message-----
From: Pablo Gosse [mailto:gossep@unbc.ca]
Sent: Wednesday, November 05, 2003 11:17 AM
To: shiflett@php.net; Donald Tyler; php-general@lists.php.net
Subject: RE: [PHP] Sessions within new windows
That's strange, as I've been writing a CMS over the past year which
requires the user to have IE 5.5 or newer, and I have no problems with
pop-ups accessing session values under IE 6.0.
Perhaps it's an issue of how you're invoking the new windows?
Are you using a normal link with target="_blank" or are you using
Javascript to launch the new window?
Cheers,
Pablo
-----Original Message-----
From: Chris Shiflett [mailto:shiflett@php.net]
Sent: Wednesday, November 05, 2003 8:42 AM
To: Donald Tyler; php-general@lists.php.net
Subject: Re: [PHP] Sessions within new windows
--- Donald Tyler <dtyler@frazerbilt.com> wrote:
> 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.
[snip]
> P.S. Its Internet Explorer 6 I am using.
This is a feature/bug of IE 6. It might be something you can configure
somewhere, but I avoid IE like the plague, so I'm not sure about that.
Every other browser, to my knowledge, will work properly.
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php