Re: [PHP] $_SESSION NOT WORKING

[email protected] (Jens Himmelrath)
Newsgroups php.general
Message-ID <[email protected]>
Balpo schrieb:
>> Hi everyone, I'm having a problem moving my code to a linux 
>> computer. I won't post the whole code here, but an accurate example
>>  that reproduces exactly the error.
>> 
>> //************************ 1.php <?php session_register('tree'); 
>> $_SESSION['tree'] = "This is tree number one"; header("Location:
>> 2.php"); ?>
>> 
>> //************************ 2.php <?php print_r($_SESSION, false); 
>> ?>
>> 
>> session.auto_start = 1
>> 
>> I want to know why session.auto_start does not work on Linux.
>> 
>> If you require the whole php.ini, I'll send it gladly

Hi!

Did you test with phpinfo() if the correct php.ini is used?

regards,
Jens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.