Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datasessions problems
Message
From
13/01/2004 20:37:51
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Datasessions problems
Miscellaneous
Thread ID:
00866561
Message ID:
00866561
Views:
61
I have an object based on the custom class. In the objects init event I create a session object with the session command and issues set datasession to sessionobject.datasessionid. This I think is working becuase if I use a table the table appears in a session named 'session(2)'. In this same object I call a form that has a private data session. When this form is displayed the 'session(2)' changes to 'formname'(formname being the name of the form). Once this form is closed the session 'formname' is no longer there but a new session 'unknown(2)' with the tables I originally opended is selected.

What am I doing wrong here? I would expect the form with the private data session to create a new session and not touch the session of the calling object.

Can anyone help me understand what is going on?

Thanks
Scott
Reply
Map
View

Click here to load this message in the networking platform