Did you register de variable?
look for session_register() in the manual.
You can see this articles too:
http://www.phpbuilder.com/columns/mattias2312.php3
http://www.phpbuilder.com/columns/mattias2105.php3
William.
El mar, 26-02-2002 a las 23:36, Dave escribió:
> login.htm
> f
tested the $HTTP_SESSION_VARS prior to sending, set just fine. changed the next
page to php and tested for the session var... nothing.
[in login.php]
[in successlogin.php]
if I check session_id() - it is the same in both pages. Variables just aren't
getting stored/retrieved.
ideas?
as an
bject: RE: [PHP] Sessions and switching between php and htm documents
Did you test and make sure the variable is set?
login.php
session_start();
$HTTP_SESSION_VARS["username"]=$formUserName;
echo $HTTP_SESSION_VARS["username"]
header("Loca
Did you test and make sure the variable is set?
login.php
session_start();
$HTTP_SESSION_VARS["username"]=$formUserName;
echo $HTTP_SESSION_VARS["username"]
header("Location: displaypage.htm");
Also, for grins ang giggles, make the middle page in the chain a HP, st
4 matches
Mail list logo