RE: [PHP] PHP- accessing session var

2003-08-14 Thread Mignon Hunter
Ps i'm a girl On Thu, 2003-08-14 at 08:53, Mignon Hunter wrote: > Thanks Mike and Michael Smith. > > It works ! > > On Thu, 2003-08-14 at 05:57, Ford, Mike [LSS] wrote: > > On 13 August 2003 23:00, Mignon Hunter wrote: > > > > > Hi > > > > > > This will be real simple for you guys. When I

RE: [PHP] PHP- accessing session var

2003-08-14 Thread Mignon Hunter
Thanks Mike and Michael Smith. It works ! On Thu, 2003-08-14 at 05:57, Ford, Mike [LSS] wrote: > On 13 August 2003 23:00, Mignon Hunter wrote: > > > Hi > > > > This will be real simple for you guys. When I print_r my session > > vars part of what get is: > > > > [_SESSION] => Array > >

Re: [PHP] PHP- accessing session var

2003-08-14 Thread Michael A Smith
That's what he was doing and he gave us the output. You can have an object stored in $_SESSION as long as the class and object were defined _before_ you stared the session. You would therefore access it like this: $some_var = $_SESSION['object_name']->varname; Cheers! -Michael Chris Shiflett

RE: [PHP] PHP- accessing session var

2003-08-14 Thread Ford, Mike [LSS]
On 13 August 2003 23:00, Mignon Hunter wrote: > Hi > > This will be real simple for you guys. When I print_r my session > vars part of what get is: > > [_SESSION] => Array > ( > [cart] => shoppingcart Object > ( > [contents] => Array >

Re: [PHP] PHP- accessing session var

2003-08-14 Thread Chris Shiflett
--- Mignon Hunter <[EMAIL PROTECTED]> wrote: > When I print_r my session vars> part of what get is: Do this: print_r($_SESSION); Show us what that outputs. Your output seemed to infer that you are doing something else when you "print_r your session vars", as _SESSION was listed as a key within