I think rather than storing things directly on the application or on _global I'd recommend using a singleton class.  That way you can control things a little better programmatically but still have the static reference which will exist for the life of the app.

 

Matt

 

-----Original Message-----
From: sbyrne_dorado [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 3:03 PM
To: [email protected]
Subject: [flexcoders] Lifetime of _global vs Application.application

 

Which has the longer lifetime: _global or Application.application;
i.e. if I were to cache some information for as long as possible,
which of these locations is the better choice?  I would think that
_global would be, as I believe the current application can be replaced
programmatically, right?

Steve



Reply via email to