[PHP] Sessions and Objects using PHP4

2005-01-15 Thread David OBrien
I have RTFM and TTFE and still am having a heck of a time getting my objects to play well between pages The only real examples are in the notes for classes objects http://us2.php.net/manual/en/language.oop.php Basic usage ? include_once(config.inc); include_once(class.php); $songbook = new

Re: [PHP] Sessions and Objects using PHP4

2005-01-15 Thread Jochem Maas
David OBrien wrote: I have RTFM and TTFE and still am having a heck of a time getting my objects to play well between pages The only real examples are in the notes for classes objects http://us2.php.net/manual/en/language.oop.php (are you on php4 or php5 btw?) Basic usage ?

[PHP] Sessions and objects

2003-07-14 Thread Matt Silva
I create a new object and then assign it to a session var $customer = new Customer($_GET['facilityID'], $_GET['customerID']); $_SESSION['acceptPayment']['customer'] = $customer; but later when I access that session var [in the the same file but in a different function and different instance], php

Re: [PHP] sessions and objects

2001-02-22 Thread jeremy brand
il at http://www.smackdown.com/ On Thu, 22 Feb 2001, Kevin Beckford wrote: Date: Thu, 22 Feb 2001 12:36:29 -0500 From: Kevin Beckford [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] sessions and objects Hello all, I've been away from php for a while, ( and I'm glad to be back) Last time

RE: [PHP] sessions and objects

2001-02-22 Thread Cal Evans
://www.calevans.com -Original Message- From: jeremy brand [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 11:46 AM To: Kevin Beckford Cc: [EMAIL PROTECTED] Subject: Re: [PHP] sessions and objects Don't store your object in the session, that is just bad design. Store a lookup value

[PHP] Sessions and Objects

2001-02-06 Thread Conover, Ryan
If I save an object as a session var. will I still have access to its methods. Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]