Re: Session
| From: | Ng Hwee Hwee | Date: | Tue, 27 Apr 2004 08:44:22 +0000 |
| Subject: | Re: Session | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34109@lists.php.net to get a copy of this message | ||
thanx Mike,
i'm sure i have session_start() on all my pages. Why I'm so confident is
because my session gets unset occassionally and not everytime. i cannot find
a pattern and so it is not a consistent problem.. it's so unpredictable!
what could be the problem??
----- Original Message -----
From: "Mikael Grön" <emgee@cwazy.co.uk>
To: "Ng Hwee Hwee" <hhwee@towa.com.sg>; <php-db@lists.php.net>
Sent: Tuesday, April 27, 2004 3:54 PM
Subject: Re: [PHP-DB] Session
> Session objects has nothing to do with weak network connections.
> If your sessions gets un-set, it's most probably because you forgot the
>
> session_start();
>
> command in the beginning of some file that is using sessions. Without
> that line, no sessions will be neither stored nor read.
>
> Mike
>
>
> On Apr 27, 2004, at 07:46, Ng Hwee Hwee wrote:
>
> > Hi,
> >
> > I have a problem with my session variables. I set them using for e.g.,
> > $_SESSION["user"]=$name;
> >
> > However, because of weak network links, somehow my $_SESSION variables
> > get unset. Is there a way to still keep the session variables even
> > though the network is unstable?? i.e. as long as my browser is open,
> > is there a way to still store my session variables? by the way, i'm
> > not referring to the session ids, I'm referring to the variables that
> > i wanted to session_register().
> >
> > Thank you.
> >
> > Regards,
> > Hwee
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>