Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DCOM/Remote Automation Problem
Message
From
14/09/2000 13:10:44
 
 
To
14/09/2000 12:49:50
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00401852
Message ID:
00416489
Views:
38
Neil,

> I've thought of chopping this up into two functions or methods, with the first returning some kind of code requesting that the client call the second, passing the 'YES'/'NO' argument, but wouldn't you lose state between the two calls?

If you have designed your DCOM server for scalability, you will be making stateless calls, so yes, you will lose state between the two calls. So you design the second method to receive parameters, which could include an ID that is generated in the first method, which can be used to restore state from a table on the server by ID, or open and pick back up with temp files created by the first server, etc.

This is how most people handle multi-page wizard-style processes in web apps, for instance.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform