$_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" <[EMAIL PROTECTED]>
> To: "phplist" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> 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
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to