Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening files on a Web Service
Message
From
24/10/2001 22:32:33
 
 
To
24/10/2001 11:37:48
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00572384
Message ID:
00573005
Views:
17
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform