Re: SESSION ARRAY

From: Date: Fri, 30 Aug 2002 02:07:25 +0000
Subject: Re: SESSION ARRAY
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114813@lists.php.net to get a copy of this message
Ooops, thats right. I should check over before i send i guess. Sorry, Todd > $_SESSION is a predefined variable, session_start() > session_register('BILLARRAY') should work though :) > > Keith Vance > Vance Consulting LLC > www.vanceconsulting.net > (206) 355-2399 > > Try my open source PHP authentication system, Rampart by visiting http://rampart.sourceforge.net/. Commercial support is available at, http://www.vanceconsulting.net/support/. > > On Fri, 30 Aug 2002, Todd Pasley wrote: > > > > What is the proper syntax for storing an array in a session? > > > > > > is it $_SESSION["BILLARRAY"]=$ARRAY? > > > > Yep, providing youre using session_start() and session_register("_SESSION") > > you can assign any type of data, just like a regular hash. > > > > Todd. > > > > ----- Original Message ----- > > From: "Randy Johnson" <icgphp@icecoldgold.com> > > To: "phplist" <phplist@inkjetgear.com>; <php-general@lists.php.net> > > Sent: Friday, August 30, 2002 9:08 AM > > Subject: [PHP] SESSION ARRAY > > > > > > > What is the proper syntax for storing an array in a session? > > > > > > is it $_SESSION["BILLARRAY"]=$ARRAY? > > > > > > > > > Randy > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > >

« previous php.general (#114813) next »