thanks all sesion_start problem
| From: | Aniceto Lopez | Date: | Mon, 13 Aug 2001 11:37:58 +0000 |
| Subject: | thanks all sesion_start problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-62410@lists.php.net to get a copy of this message | ||
Ok. Richard was right, the php code was placed in the middle
of the html. I place it at the beguining oh the file (before html)
and it works. Thanks
Thanks also Daniel for your advice:
"first use session_start() and than session_name"
> Did you make sure everything below is BEFORE the html tag?
> Also you can just set the variable $sesionvar like this:
> $sesionvar = "fulanito";
> instead of
> $HTTP_SESSION_VARS["sesionvar"] = "fulanito";