Re: Problem storing sessions
| From: | Sascha Schumann | Date: | Fri, 25 Aug 2000 05:38:15 +0000 |
| Subject: | Re: Problem storing sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13590@lists.php.net to get a copy of this message | ||
On Thu, 24 Aug 2000, Aaron Abelard wrote:
> Quoting Matt Schroebel (MSchroebel@hsus.org):
> > Is the browser set to accept cookies? I once drove myself nuts with that!
> >
> > >I tried it with the session_start() as the first line and the results where
> > >the same. Thanks for the suggestion, however.
> >
>
> Yes, it's accepting cookies, in fact warning me of it for the purposes of
> debugging this error. If I add:
>
> echo session_id();
>
> it reports the same value I saw in the cookie warning, which corresponds to
> a file /tmp/sess_[md5lookinghash]. However, PHP never writes my registered
> variables to the file. If I manually put serialized values in there, it will
> read them and make them part of my enviornment as expected.
Are you using anything in Apache which eats file descriptors
(like logrotate)? If yes, that bug has been fixed in PHP
4.0.2.
- Sascha