Re: Problem storing sessions

From: Date: Thu, 24 Aug 2000 18:38:57 +0000
Subject: Re: Problem storing sessions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-13491@lists.php.net to get a copy of this message
At 11:35 AM 8/24/2000 -0700, Aaron Abelard wrote:
That is the entire program, used to demonstrate the problem I'm having. I've tried using session_start() at the top, however it didn't change the results. According to the manual, session_start() is implicitly implied by session_register(). Also, the code does work on my httpsd, which is running 4.0b4pl1 on the same machine. I'm pretty sure this code is not the problem. I've started digging through the PHP source to find where it writes the sessions out, but it seems as if whatever error I'm having is something others would have run into by now. Thanks, Joao.
Well, I remembered this from the first time I used sessions with PHP4. I was also doing session_register's without the session_start, and nothing was working. Whenever I put the session_start back in the top of my scripts, it started working again. I'm not sure if this was fixed / changed to these new versions, but I remember it very well. Please try using session_start() on it anyway. Who knows. Regards, Joao -- Joao Prado Maia Web Developer Kefta.com, Inc

« previous php.general (#13491) next »