Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session switched with ExpandTemplate
Message
From
22/09/2002 16:26:37
 
 
To
22/09/2002 16:22:47
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00703117
Message ID:
00703184
Views:
15
>Objects in VFP remember what datasession they are in. When this causes a problem, I usually pass the datasession I want as a parameter, and change the datasession inside the method being called. I don't know anything about Web Connection, but if you can change the datasession before creating the Response object, it may work without passing a parameter.

No, this is by design in Visual FoxPro. Whatever the session the object was created into, any call to a method from any of those objects will switch to that base session even if you force a switch just before calling that method.

Thanks to Sergey for having confirmed that to me. We ended up dropping that approach. We proposed another approach to the client as a workaround.
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
Next
Reply
Map
View

Click here to load this message in the networking platform