Re: Session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
To: "Ng Hwee Hwee" <hhwee@xxxxxxxxxxx>; <php-db@xxxxxxxxxxxxx>
Sent: Tuesday, April 27, 2004 3:54 PM
Subject: Re:  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
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux