Re: session_start

From: Date: Wed, 07 Mar 2001 08:13:56 +0000
Subject: Re: session_start
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-42868@lists.php.net to get a copy of this message
Le Mercredi 7 Mars 2001 09:11, vous avez écrit : > 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"; rectification i was wrong : I didn't see UserName session but username You need this line ! but for session_register I am right ! good luck regards > > > > > > > > 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 __________________________________________________

« previous php.general (#42868) next »