Re: $_SESSION NOT WORKING
| From: | Jens Himmelrath | Date: | Tue, 13 May 2008 20:37:02 +0000 |
| Subject: | Re: $_SESSION NOT WORKING | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274274@lists.php.net to get a copy of this message | ||
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