Jump to content

Php Session


wolves

Recommended Posts

I have many values in the $_SESSION but When I open a new window using:

function open_win(url,x,y){ 
    url = window.open(""+ url +"","_blank","toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=yes, copyhistory=yes, width="+ x +", height="+ y +"");
}

 

my session is empty;

 

BEFORE 'IN THE MAIN WINDOW'

print_r($_SESSION);
Array
(
    [foo] => 'bar'
    [bar] => 'foo'

 

AFTER 'IN THE CHILD WINDOW'

 

print_r($_SESSION);
Array()

 

note: this problem not occurs in FF.

 

tks!

Link to comment
https://forums.phpfreaks.com/topic/54593-php-session/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.