Re: Singletons

2015-03-10 Thread John Dunlap
Thanks. On Tue, Mar 10, 2015 at 12:23 PM, Perrin Harkins wrote: > Yes, that code just uses an ordinary global variable to store the > instance, and those survive between requests. Keep in mind there is no > magic here to share the instance between processes, so you'll have a > different one in e

Re: Singletons

2015-03-10 Thread Perrin Harkins
Yes, that code just uses an ordinary global variable to store the instance, and those survive between requests. Keep in mind there is no magic here to share the instance between processes, so you'll have a different one in every process. - Perrin On Mon, Mar 9, 2015 at 5:25 PM, John Dunlap wrote

Singletons

2015-03-09 Thread John Dunlap
For my own clarification, will classes which extend Class::Singleton survive from one request to the next? -- John Dunlap *CTO | Lariat * *Direct:* *j...@lariat.co * *Customer Service:* 877.268.6667 supp...@lariat.co