Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to define global variables?
Message
De
10/11/2003 11:48:49
 
 
À
10/11/2003 11:45:32
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00848129
Message ID:
00848368
Vues:
13
>>>Check out the Caching Application Block from MS.
>>>
>>>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/Logging.asp?frame=tru
>>
>>I don't think this applies here.
>
>Well, by 'global application variable' don't you mean you want to persist a value that is application wide (all session) and is always available?
>
>Other than that, have you tried to add properties to the httpapplication in global.asax ?
>
>BOb
Actually, the doc says member variables of the HttpApplication object are per-request values.

So, the seems to bring my back to caching an object and using it from the cache as needed.

Of course, there could be another method, I'm still learning this stuff myself.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform