Re: session_start

From: Date: Wed, 07 Mar 2001 13:51:23 +0000
Subject: Re: session_start
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42899@lists.php.net to get a copy of this message
At 22:05 07.03.2001, Jacky@lilst said: --------------------[snip]-------------------- >People >very basic question here, I wanna assign username onto session after the >login succeed, I use: > >session_start(); >session_register("username"); >$UserNameSession="username"; --------------------[snip]-------------------- session_start(); session_register($UserNameSession); if (!isset($UserNameSession)) $UserNameSession="username"; --------------------[snip]-------------------- I got problem of how to assign session value in php3. As far as I know, all syntax in manual talks about php4 syntax only. How am I going to do that? --------------------[snip]-------------------- do nothing, PHP will assign the value for you. ...ebird >O Ernest E. Vogelsinger (\) http://www.1-at-web.at/ ^ ICQ# 13394035

« previous php.general (#42899) next »