Re: Sessions and switching between php and htm documents

From: Date: Thu, 28 Feb 2002 21:49:20 +0000
Subject: Re: Sessions and switching between php and htm documents
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86657@lists.php.net to get a copy of this message
Did you register de variable? look for session_register() in the manual. You can see this articles too: http://www.phpbuilder.com/columns/mattias20000312.php3 http://www.phpbuilder.com/columns/mattias20000105.php3 William. El mar, 26-02-2002 a las 23:36, Dave escribió: > 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 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

« previous php.general (#86657) next »