[PHP] Re: Session hell: register_globals off

2004-04-02 Thread Jason Barnett
page 1 __ // include class definition file include_once order_classes.php; // start session session_start(); // create instance of class Order $order = New Order(); // assign class instance to $SESSION[] $_SESSION['order'] = $order; page 2 __ // include class definition file include_once

Re: [PHP] Re: Session hell: register_globals off

2004-04-02 Thread Randall Perry
on 4/2/04 8:24 PM, Jason Barnett at [EMAIL PROTECTED] wrote: Are you passing the session id between the pages? E.g. are you setting session cookies, or passing the session id as part of the url? Doesn't php default to using cookies? I'm not doing anything other than using the code I showed.

Re: [PHP] Re: Session hell: register_globals off

2004-04-02 Thread Jason Barnett
Randall Perry wrote: on 4/2/04 8:24 PM, Jason Barnett at [EMAIL PROTECTED] wrote: Are you passing the session id between the pages? E.g. are you setting session cookies, or passing the session id as part of the url? Doesn't php default to using cookies? I'm not doing anything other than using