[PHP] Global storage of objects.

2001-11-29 Thread Stefan Bergstrand
I would like to know if there is a way to store objects globally from a php-page, so that the object can be used from another page. /Stefan B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] Global storage of objects.

2001-11-29 Thread Boget, Chris
I would like to know if there is a way to store objects globally from a php-page, so that the object can be used from another page. Yes, using sessions or cookies. Chris

Re: [PHP] Global storage of objects.

2001-11-29 Thread Andrey Hristov
Simultaneously? Or you want them preloaded and constructed in memory on every page request? Regards, Andrey - Original Message - From: Stefan Bergstrand [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 29, 2001 5:56 PM Subject: [PHP] Global storage of objects. I

RE: [PHP] Global storage of objects.

2001-11-29 Thread Christoph Starkmann
Hi Stefan! I would like to know if there is a way to store objects globally from a php-page, so that the object can be used from another page. Why not writing these objects to a *.php document which you can include wherever you need it? HTH, Kiko - It's not a bug, it's a feature.

Re: [PHP] Global storage of objects.

2001-11-29 Thread Jani Mikkonen
I would like to know if there is a way to store objects globally from a php-page, so that the object can be used from another page. Keyword is Serialization. If you save object to flatfile or to db, i dont see any point why the result wouldnt be accessible from other places (providing that

Re: [PHP] Global storage of objects.

2001-11-29 Thread Stefan Bergstrand
Your suggestion is as far as I got on my own... ;-=) What I want is to keep the object in memory, and not have to read data from disk the next time I need the object. I cant use cookies, since the object should be avaliable to more than one user. (Global, as I said in my first post.) The

Re: [PHP] Global storage of objects.

2001-11-29 Thread Andrey Hristov
, November 30, 2001 9:38 AM Subject: Re: [PHP] Global storage of objects. Your suggestion is as far as I got on my own... ;-=) What I want is to keep the object in memory, and not have to read data from disk the next time I need the object. I cant use cookies, since the object should be avaliable