Re: Session variable not persisting
| From: | Matijn Woudt | Date: | Mon, 18 Mar 2013 18:59:28 +0000 |
| Subject: | Re: Session variable not persisting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320637@lists.php.net to get a copy of this message | ||
On Mon, Mar 18, 2013 at 7:46 PM, Éric Oliver Paquette
<eopaquette@gmail.com>wrote:
> Hi all,
>
> I'll be swift in my explanation as I can't find in any way the source of
> the problem; it seems to be installation-related.
>
> At execution, sometimes (randomly it seems at first), variable session
> aren't properly stored.
>
>
> In fact, when I run this on my server I randomly have empty entries in the
> $_SESSION array. Any thoughts on this? Is this a known bug (haven't found
> it…)
>
> Thanks!
>
What does phpinfo() show about session stuff? Especially things like
save_handler and cookie_lifetime settings.
- Matijn