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.

> 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 "order_classes.php";
> // start session
> session_start();
> // assign $_SESSION['order'] object to variable
> $order = $_SESSION['order'];


-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/

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

Reply via email to