small question

From: Date: Mon, 28 Jan 2002 22:24:21 +0000
Subject: small question
Groups: php.dev 
Request: Send a blank email to php-dev+get-78360@lists.php.net to get a copy of this message
hi, i'm currently starting on working on objects in to sessions.
and i want to know something for sure, which i could findout in de
source.

on session resume is this the steps which a session variable go tru ?

* deserialize object
* cast to right type
* run object->__wakeup
* register object by it's name to the global variable list

because i'm calling a function from the __wakeup routine which is
referencing the object by his global name, and it gives me a 
"Fatal error: Call to a member function on a non-object in .."

plz enlighten me ;-)

grtz
	Robbert

-- 
Robbert Muller           | Never let a luser on your console.        
mjrider@enschede dot com | Because that means they're in your room.
uin: 9659330             | finger mjrider@mjrider.student.utwente.nl
PGP-key 0x2F634245       | for the PGP key


Thread (1 message)

  • Robbert Muller
« previous php.dev (#78360) next »