Re: Session
| From: | Mikael Grön | Date: | Tue, 27 Apr 2004 07:54:12 +0000 |
| Subject: | Re: Session | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34107@lists.php.net to get a copy of this message | ||
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