Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to define global variables?
Message
De
12/11/2003 14:46:13
 
 
À
10/11/2003 14:57:02
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00848129
Message ID:
00849225
Vues:
24
>>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 ?
>
>The simplest way so far seems to be the one suggested in the other message. We use Web.config file.

Take a look at Paul Seriff's article in Code magazine about a web config class. It nicly extends the app config stuff built into .Net giving you caching and strongly typed config items.

It is in the issue with the "Hand" on the cover... Oct/Sep 2002 I think it is.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform