Re: array in Session-Vars?

From: Date: Wed, 04 Apr 2001 03:10:30 +0000
Subject: Re: array in Session-Vars?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46956@lists.php.net to get a copy of this message
Do the same thing your doing, but insert the following after where it should be set to see if it was: print_r($HTTP_SESSION_VARS); If it worked, you'll see it. If not, you'll see it. Then you can progress from there. -- Plutarck Should be working on something... ...but forgot what it was. ""Thomas Häger"" <thaeger@internet-free.de> wrote in message news:9acqfe$v9a$1@toye.p.sourceforge.net... > Hi all, > > i need to use an array in a session variable. > On a page i fill the Sessionvar : > $HTTP_SESSION_VARS["xy"] []=$whatever > (The var is registered with session_register("xy")) > I mean that the entry would made at the end of the array, is it not so? > > But evrey time i proove the entries with count($HTTP_SESSION_VARS["xy"]) , > there are only one entry. > > > Have somebody an idea? > > Thank, > > Thomas > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#46956) next »