Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Session objects with a PRG
Message
From
30/11/1999 17:11:01
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00296962
Message ID:
00297131
Views:
20
>>I have a PRG that I would like to run in its own private DataSession. Could I use the new Session object for this and if so, how would I do it?
>>
>
>Create a Session object. Once created, read the DataSessionID property of the Session object you've created. Your program can now SET DATASESSION TO DataSessionID from Session object and work to its heart's content...
>
>
>Realize that if you do this outside of the Session and you operate in a modeless environment, you might have the data session shifted on you by some user action. You could avoid this by creating the program as a method (or several methods) of a class that derives from Session.

Thanks! This got me going...
Elyse Pomerantz
Previous
Reply
Map
View

Click here to load this message in the networking platform