RE: Apache::Singleton (sharing one object)

2005-08-12 Thread Tesfaiesus, Mesel
That's it! Thx a lot. Cheers, Mesel -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED] Sent: Friday, August 12, 2005 16:25 To: Tesfaiesus, Mesel Cc: modperl@perl.apache.org Subject: Re: Apache::Singleton (sharing one object) On Fri, 2005-08-12 at 15:40

Re: Apache::Singleton (sharing one object)

2005-08-12 Thread Perrin Harkins
On Fri, 2005-08-12 at 15:40 +0200, Tesfaiesus, Mesel wrote: > I'm using the Aapache::Singleton Module and mod_perl 2.x/Apache2.x but I > always seem to get a new Object as the properties are set to default > every time. It defaults to request scope, as described in the documentation. To make it s

Re: Apache::Singleton (sharing one object)

2005-08-12 Thread Praveen Ray
Shouldn't you be using the database itself to store the state? Will Apache::Singleton instance replicate itself if you were to run your application on multiple servers behind load balancers (for scalability and fail-over purposes)? If yes, you probably should usw Storage Module to save your SQL obj