Re: confusing problem w/sessions
| From: | Gabriele Biondo | Date: | Mon, 20 Aug 2001 13:11:27 +0000 |
| Subject: | Re: confusing problem w/sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63500@lists.php.net to get a copy of this message | ||
> start your session before sending any html output to browser
Okay. This solves the problem w/the warnings
> check that register_globals is on
It is actually on
> if not use $HTTP_SESSION_VARS("a") instead to reference your session var
> assign a value after having initialiazed your var not before
Done. Nothing changes at all...
my variables are saved (session_register("a") returns true) but from the
second page,
wich code is:
<?session_start();
print $HTTP_SESSION_VARS["a"];
print "<br>$a";
?>
i do not see anything at all...
more suggestions?
thanks in advance
Gabriele