Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generic code to be executed at every hit
Message
De
17/04/2006 14:01:11
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Titre:
Generic code to be executed at every hit
Divers
Thread ID:
01114103
Message ID:
01114103
Vues:
65
I am looking for a way to have some generic code to be executed at every hit to a Web Service? Basically, I need to setup a variable which would be equal to Date.Now whenever a call is done to anyone of the methods. I cannot put this code in the New() event of the Web Service because this is only executed once on the first call to the Web Service. So, the variable will not be initialized at every hit if I put it there. I don't want to duplicate the same code to initialize that variable in all of the methods. Are there any options to do that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform