Sessions and switching between php and htm documents

From: Date: Wed, 27 Feb 2002 04:36:40 +0000
Subject: Sessions and switching between php and htm documents
Groups: php.general 
Request: Send a blank email to php-general+get-86361@lists.php.net to get a copy of this message
login.htm form submits information login.php session_start(); $HTTP_SESSION_VARS["username"]=$formUserName; header("Location: displaypage.htm"); displaypage.htm show some static stuff links to formpage.htm formpage.htm form submits information to form.php form.php session_start(); echo $HTTP_SESSION_VARS["username"]; <- has no value Does the chain of pages have to be continually PHP pages to allow the transition of the session variables? if not, any ideas on why we are losing session variables? Dave

« previous php.general (#86361) next »