Re: $_SESSION NOT WORKING
| From: | Daniel Brown | Date: | Tue, 13 May 2008 19:43:09 +0000 |
| Subject: | Re: $_SESSION NOT WORKING | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274270@lists.php.net to get a copy of this message | ||
On Tue, May 13, 2008 at 2:38 PM, Balpo <balpo@gmx.net> wrote:
> 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.
[snip!]
Modify 2.php as follows:
<?php
session_start();
print_r($_SESSION);
?>
You only missed instantiating the session. The rest looks good.
--
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.