Re: session_start
| From: | Matthieu Le Corre | Date: | Wed, 07 Mar 2001 08:11:16 +0000 |
| Subject: | Re: session_start | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42867@lists.php.net to get a copy of this message | ||
Le Mercredi 7 Mars 2001 22:05, vous avez écrit :
> People
> very basic question here, I wanna assign username onto session after the
> login succeed, I use:
>
> session_start();
> session_register("username");
the syntax for session_register is :
session_register("session_names",var_without_quote)
and I think you doesnt need this line ,
it's done automaticlly by PHP
> $UserNameSession="username";
> did not work what is wring with this?
> Jack
> jacky@activelifestyle.com
> "There is nothing more rewarding than reaching the goal you set for
> yourself"
--
__________________________________________________
Matthieu LE CORRE
SERVICE INFORMATIQUE
Ecole Polytechnique de l'Université de Nantes
(EPUN)
Site de la Chantrerie
Rue Christian Pauc
BP 50609
44306 Nantes Cedex 3
02 40 68 32 23
__________________________________________________