>>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.