Re: Problem storing sessions
| From: | Marko Vukovic' | Date: | Thu, 24 Aug 2000 15:11:24 +0000 |
| Subject: | Re: Problem storing sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13439@lists.php.net to get a copy of this message | ||
Aaron Abelard wrote:
>
> I'm having a problem getting PHP to store session information. The problem
> appeared after upgrading to 4.0.1pl2. The code works with the old daemon,
> and as far as I can tell there are no differences between the compiles of
> the two daemons.
>
> This is the code I'm using to test sessions:
>
> <?
> session_register("testvar");
> echo "[" . $testvar . "]<br>";
> $testvar = 100;
> ?>
>
try this:
<?
session_start();
echo "[" . $testvar . "]<br>";
$testvar = 100;
session_register("testvar");
?>
--
Marko