Posted by tomb on 07/11/07 21:56
Sjoerd wrote:
> tomb wrote:
>> What happens to the $_SESSION values? Mine go away.
>
> Did you call session_start() before doing anything with $_SESSION? On
> both the login page and the next page?
Yes, absolutely. It's in the include file, so it's called immediately
after the database stuff and the session_set_save_handler function
call. The $sessid variable is getting a value after session_start(),
it's just the $_SESSION object that ends up with nothing in it. I
thought this was supposed to maintain the values for this user until the
session expires?
Tom
[Back to original message]
|