Re: session & HTML target = "_blank" element

From: Date: Wed, 26 May 2004 18:38:20 +0000
Subject: Re: session & HTML target = "_blank" element
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187011@lists.php.net to get a copy of this message
"Hardik Doshi" <php_hardik@yahoo.com> wrote in message news:20040526141101.74995.qmail@web14702.mail.yahoo.com... > Hi group, > > I have discovered a strange behaviour while using > session. I have a page from which i am opening other > pages using target = "_blank" element. Now when i open > the child page, it doesn't get $_SESSION values. I > have tried to dump variable from $_SESSION and it > shows me the blank array. Does any one know this > strange behaviour?? Let me know if i am doing anything > wrong. Are you using cookies? If not you have to pass the session id via GET to the new page: <a href="page.php?<?= SID; ?>" target="_blank">link</a> Regards, Torsten

« previous php.general (#187011) next »