Re: Passing objects

From: Date: Sat, 26 Jan 2002 21:27:25 +0000
Subject: Re: Passing objects
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-82242@lists.php.net to get a copy of this message
Dean Householder wrote:
How can you pass an object from one page to another? Is there any convenient way to do it with PHP? Dean
You've had some suggestions to use 'sessions' but you can't really pass an object between pages with sessions - UNLESS... Unless both pages have the class definition for that object. Only the values for the object would be passed, not the methods of the class which the object is based on. Basically, make sure the class the object is based on is used in any page you want to use that object in. Good luck... -------------------------------- Michael Kimsal http://www.tapinternet.com/php/ PHP Training Courses 734-480-9961

« previous php.general (#82242) next »