Re: Problem storing sessions
| From: | Aaron Abelard | Date: | Thu, 24 Aug 2000 16:19:05 +0000 |
| Subject: | Re: Problem storing sessions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13460@lists.php.net to get a copy of this message | ||
Quoting Marko Vukovic' (vukko@cequrux.com):
> 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");
> ?>
>
No change. The code works on another httpd, so I am convinced that the
problem is related to the httpd and not to the code I'm running. The only
part that seems to be failing is putting the session variables into the file.
--
aaron / aig4.com