Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In which datasession does it run - revisiting
Message
From
21/05/2006 10:45:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
In which datasession does it run - revisiting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01123816
Message ID:
01123816
Views:
56
I've switched to VFP9 for the current project, and kept pretty much all the code as it was in VFP8. And then, while sitting in the debugger, I noticed that the datasession didn't switch to 1 while code in global application object (created in DS 1) was running.

Now I've searched a bit, and found threads #1086752 and #729013 where the code was stubbornly switching to DS in which the objects were created.

Before I start building experiments, can anyone confirm that the behavior has changed in VFP9? And if it has, how? Is it just the code in objects created in DS 1 that executes in the DS of the caller?

This becomes confusing. Good that I have Set("datasession") permanently in my watch window, or else I don't know when would I catch this.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Reply
Map
View

Click here to load this message in the networking platform