Re: Session

From: Date: Tue, 27 Apr 2004 08:40:17 +0000
Subject: Re: Session
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-34108@lists.php.net to get a copy of this message
thanx Wendell for your suggestion. apparently i tried using cookies, but my cookies also get deleted after my session is "disconnected". (?!?!) i did not set an expiry date to my cookies because i need them to be deleted when the user closes his browser. what could i have done wrong?? ----- Original Message ----- From: "Wendell Frohwein" <wendell@3rdpixel.com> To: "'Ng Hwee Hwee'" <hhwee@towa.com.sg> Sent: Tuesday, April 27, 2004 3:00 PM Subject: RE: [PHP-DB] Session > Im sure you can store the session ID in a cookie. Then this will save > all your variables. > > > I hope this helps. > > > Wendell > > > > -----Original Message----- > From: Ng Hwee Hwee [mailto:hhwee@towa.com.sg] > Sent: Monday, April 26, 2004 11:46 PM > To: DBList > Subject: [PHP-DB] Session > > 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 > >

« previous php.db (#34108) next »