Re: FW: How to print the registered session variables??

From: Date: Mon, 15 Oct 2001 08:44:29 +0000
Subject: Re: FW: How to print the registered session variables??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71082@lists.php.net to get a copy of this message
I think it is $HTTP_SESSION_VARS[] session_register have to be invoked only once - when you place the variable in the session jar :))). -- Andrey Hristov Web Developer IcyGEN Corporation BALANCED SOLUTIONS http://www.icygen.com On Monday 15 October 2001 12:37, you wrote: > -----Original Message----- > From: Balaji Ankem [mailto:balaji.ankem@wipro.com] > Sent: Monday, October 15, 2001 7:44 AM > To: php-general@lists.php.net > Subject: How to print the registered session variables?? > > > Hi, > I have registered two session variables with the names user and pw. > > Please tell me how to print those session vars?? > > Is it needed to call session_register("varname") before printing the > session variable "varname"?? > > Thanks and regards > -Balaji > ----- > > 1.$a=get_defined_vars > 2. for (session_is_registered($a[$i])) echo ... > Just an idea ...

« previous php.general (#71082) next »