Session

From: Date: Sat, 04 May 2002 14:03:51 +0000
Subject: Session
Groups: php.windows 
Request: Send a blank email to php-windows+get-13545@lists.php.net to get a copy of this message
Hi I am new in programming in PHP, so my question is purhaps stupid but never the less. The problem is the following, when i run the program below ther is made a file in the directory for saving session var. <?php session_start(); $userID = "ihn"; if (session_register("userID")) { echo("User : $userID"); } else { echo("Could not set the session variable!"); } ?> but i cannot read the var back with th followng pogram <?php session_start(); eccho("User : $userID"); ?> thanks in advance escuse my english Ib Helmer Nielsen

« previous php.windows (#13545) next »