Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web Services dies after eight method calls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00602952
Message ID:
00603131
Vues:
24
>Mike:
>
>SET DEFAULT definitely doesn't work. I needed a way for the web service to be able to set relative paths. This is why a put the code in the INIT. It seems to work.
>
>Now I need to find out when the INIT is actually called. I see that COM+ is activating and deactivating (JIT) the object between method calls. Does this mean the INIT is going to fire each time I make a method call?
>
>Thanx,

Charlie,
Yes. VFP COM objects can not be pooled so they are created and destroyed as needed (most likely at the beginning and end of a method call). For this reason, it is best to have very little code exectuting in those methods. Overhead can be a killer if a lot of procesing needs to occur here.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform