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
indeed, you must includ
://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,
Don't store your object in the session, that is just bad design.
Store a lookup value, then grab your object from your DB only when you
need it.
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
- - - - -
On Tuesday 06 February 2001 19:39, Conover, Ryan wrote:
> If I save an object as a session var. will I still have access to its
> methods.
Yes, at least with PHP4. I'm doing that all the time.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Software is like sex: the best is for
4 matches
Mail list logo