Re[6]: [PHP] PLEASE HELP! session variable fails to persist!!

From: Date: Sat, 15 Jun 2002 01:20:18 +0000
Subject: Re[6]: [PHP] PLEASE HELP! session variable fails to persist!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102295@lists.php.net to get a copy of this message
On Saturday, June 15, 2002 at 2:05:50 AM, Zlutarch G. wrote: > Thanks. I added error_reporting (E_ALL); and it gave me the following error > msg: "Warning: Undefined index: var in c:\program files\apache > group\apache\htdocs\php\superstock\ssi\valuecalc\valuescreen\testsess.php on > line 6" > Here is line 6: echo "session var: > ".$_SESSION["var"]."<br>"; > Apparently, there is no session variable! Does that mean the session was not > created? I thought the session is created if I get the same session ID each > time I reload the page. It's saying that there is no variable named var stored in the session. I'm at a loss. I can't see any reason why it's not working. What URL does the link in your page go to? It should have a query string on it. Does it? -- Stuart

« previous php.general (#102295) next »