Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private Data Session for a Timer?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00331191
Message ID:
00331208
Vues:
19
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform