Re: Re: Session variables disappear (some of them only)
| From: | Chris | Date: | Mon, 07 Jul 2008 09:02:12 +0000 |
| Subject: | Re: Re: Session variables disappear (some of them only) | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276344@lists.php.net to get a copy of this message | ||
> Then the errors sometimes occur in my apache2/ssl_error_log (undefined
> index in $_SESSION variable). When I check the sess_12345789... file,
> some of the variables are missing : $_SESSION["a"] and ["b"] are there,
> but not $_SESSION["c"], even an empty one, it is just gone. That's all I
> know.
Sounds like for those situations, the user doesn't have one of the
options set (the database is returning a null value).
Check that by matching up whatever 'a' and 'b' are with what's in the
database.
--
Postgresql & php tutorials
http://www.designmagick.com/