Re: Re: sessions

From: Date: Tue, 02 Apr 2002 20:19:16 +0000
Subject: Re: Re: sessions
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-91210@lists.php.net to get a copy of this message
On Thursday 04 April 2002 01:04, R. Lindeman wrote: > okay i'll explain a bit > > i want my sessions to store some values but instead of storing them their > doing nothing at all here's some code > > // beginning of registering of values > > session_start(); > > session_register("fu"); > session_register("bar"); > > $fu = "fu"; > $bar = "bar"; > > // end of registering values > > //getting values > > $fu = $HTTP_SESSION_VARS["fu"]; > > echo $fu; > > //end of getting values If you are using PHP > 4.06 then try: $fu = $_COOKIE["fu"]; -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* What I want to find out is -- do parrots know much about Astro-Turf? */

« previous php.general (#91210) next »