"Hardik Doshi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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

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

Reply via email to