note 19477 added to ref.session

From: Date: Thu, 28 Feb 2002 16:49:30 +0000
Subject: note 19477 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-27174@lists.php.net to get a copy of this message
Hello, I would like to create a login page, that checks the correctness of the login info, and then, initialized a session (without the use of cookies) and opens the next page to display further visitor's options. So, on the login page, I set the session var as: $HTTP_SESSION_VARS["thisVisitor"]=1; Then, I try to upload the next page and display $HTTP_SESSION_VARS["thisVisitor"], and 0 is displayed indicating that the value is not known to the page or something like that. I guess, I have not grasped the notion of using the sessions. Can anyone explaint to me whether it is at all possible to use sessions without cookies, and how to keep track of session variables on different pages of the application? Thank you -- http://www.php.net/manual/en/ref.session.php http://master.php.net/manage/user-notes.php?action=edit+19477 http://master.php.net/manage/user-notes.php?action=delete+19477 http://master.php.net/manage/user-notes.php?action=reject+19477

« previous php.notes (#27174) next »