I have on one page:
session_start() ;
session_registe r ("email");
session_registe r ("firstname" );
session_registe r ("lastname") ;
$HTTP_SESSION_V ARS ["email"] = $email;
$HTTP_SESSION_V ARS ["firstname"] = $firstname;
$HTTP_SESSION_V ARS ["lastname"] = $lastname;
when i type:
echo $HTTP_SESSION_V ARS ["email"] ;
on this page it displays the users email taken from a form.
I then added a link to another page with a form
when i submit the form it goes to a php script which has
echo $HTTP_SESSION_V ARS ["email"] ;
This has no result.
Am i doing something wrong?
session_start() ;
session_registe r ("email");
session_registe r ("firstname" );
session_registe r ("lastname") ;
$HTTP_SESSION_V ARS ["email"] = $email;
$HTTP_SESSION_V ARS ["firstname"] = $firstname;
$HTTP_SESSION_V ARS ["lastname"] = $lastname;
when i type:
echo $HTTP_SESSION_V ARS ["email"] ;
on this page it displays the users email taken from a form.
I then added a link to another page with a form
when i submit the form it goes to a php script which has
echo $HTTP_SESSION_V ARS ["email"] ;
This has no result.
Am i doing something wrong?
Comment