Re: newbie: using sessions
| From: | Faisal Abdullah | Date: | Wed, 13 Mar 2002 01:28:57 +0000 |
| Subject: | Re: newbie: using sessions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88278@lists.php.net to get a copy of this message | ||
Don't you have to assign the login value to the session variable first?
session_start();
$login = $HTTP_POST_VARS("login");
session_register("login");
> How are you using you're session? Are you registering the variable for
> later use?
>
> session_start();
> session_register("login");
>
> $login = $HTTP_POST_VARS['login'];
>
> That's it!