note 36821 rejected from faq by vincent

From: Date: Thu, 23 Oct 2003 20:58:00 +0000
Subject: note 36821 rejected from faq by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59188@lists.php.net to get a copy of this message
Note Submitter: skuns@arb.ca.gov ---- I'm new to PHP. I've been playing with the latest download for windows and trying to learn sessions. My problem is I can't access the session variables I created from another script . I have the default setting for the register globals value (off). I start off by using the session_start(); command and follow that by assigning some variables: $_SESSION["sv_Sid"] = 'sometext'; When I try to acces the variable sv_Sid from another script, it comes back blank. I try to access it by using $_SESSION[sv_Sid]. Any ideas on how to set a session variable and then use it in another script. I can't find any examples of this in the PHP documentation.

« previous php.notes (#59188) next »