Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 28, 2004, 7:05 pm
rate this thread
array out of session and call the member functions of each object.
However I am getting a Fatal error: Call to a member function on a
non-object. I have session.autostart turned off, and I have the
class definition for those objects included before the call to
session_start(). I am on PHP 4.2.3. Is this possible to do? While
debugging, it appears that the objects in the array are only seen as a
type of standard "object", and that I can only access the member
variables of the object. I tried casting to the user defined class,
but this does not see to work. Is there a way to pull these objects
out of an array that was in the session, and call the member functions
of these objects?
Re: Array of Objects in session, is it possible to access member functions?
curtain and staggered drunkenly up to the mic. In a cracked and
slurred voice he muttered:
Not unless the objects were serialized first.
Phil Roberts | Deedle Doot Doo Dee Dee | http://www.flatnet.net /
This global evolutionist conspiracy of evil athiests can kiss
my ass! Wheres my goddamn cheque??