php fails to store any _SESSION or _GLOBALS variable

Posted by ebtesting on Stack Overflow See other posts from Stack Overflow or by ebtesting
Published on 2010-03-13T00:49:42Z Indexed on 2010/03/13 0:57 UTC
Read the original article Hit count: 235

Filed under:

Hi All,

I am storing a session and a global variable in file1.php. However, when I try to access those from file2.php I get nothing. I am using php 5.1.6.

$_SESSION['abc'] = $a;
$GLOBALS['def'] = $b;

Any idea?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about php