Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening files on a Web Service
Message
De
24/10/2001 22:32:33
 
 
À
24/10/2001 11:37:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00572384
Message ID:
00573005
Vues:
18
>>From a WWC project, I have a global variable which indicates if all my files are opened or not. On the first transaction, it'll open the required files and the flag will be set.
>>
>>However, from a Web Service, should we use the same approach? Is the same technique applicable?
>
>No. WWWC sessions are able to hold state because a process keeps running between hits (with file based), but you cannot assume the same thing with a Web Service. With both ASP and ISAPI based web services, plan on your object being killed after every hit, closing all tables and losing all state.

What we found is that the best approach is just to use the Web Service to issue a call to our HTTP server which is already configured to do all that. In this case, the Web Service becomes a wrapper.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform