Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private Data Session for a Timer?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00331191
Message ID:
00331208
Views:
21
>>I've been through this type of situation in the past too. Any idea why manually trying to set the Datasession causes such, er, fun?
>
>No. Do you reset it properly? How do you do it? Try:
>
>(NOT TESTED CODE:)
>
>local lnDS, loSession
>lnDS = thisform.datasessionID
>loSession = createobject('session')
>thisform.datasessionID = loSession.DataSessionID
>
>..... &&Bunch of code
>
>thisform.datasessionID = lnDS
>loSession = .NULL.


That is kind of how I was doing it. I just had a PrivateSession and a DefaultSession class that were subclasses of the Session class. I could then set the DataSession property properly.

However, it didn't seem to work. I had tried the idea about using a form before, but had a problem there too. I will revisit on Monday...

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform