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.