[PHP] Re: Can Objects be passed to another page?

2003-09-03 Thread Harry Wiens
you can store your object in a session

bye
Harry Wiens


Webmaster [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
 Hi,

 is it possible to pass an Object to another php page?
 I want to pass a whole bunch of varibales to another page.
 For example the session ID, the language that the user choose,etc.
 All those variables are in one or more objects.
 Do I have to copy all those object attributes to variables and pass them
via
 the URL?

 How is this done professionally?
 Up to now I used cookies. But I would like to change that.
 Not all users have cookies enabled.

 Thx

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: Can Objects be passed to another page?

2003-09-03 Thread Ford, Mike [LSS]
On 03 September 2003 12:55, Harry Wiens contributed these pearls of wisdom:

 you can store your object in a session

... but make sure the class definition is included *before* the call to
session_start().


Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php