Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wiping out (data)Session object
Message
De
26/05/2008 14:24:16
 
 
À
26/05/2008 13:14:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01319497
Message ID:
01319542
Vues:
15
>>>
>>Calling Destroy() method directly (or release method directly) works?
>>
>>E.g. array[i].Destroy()
>> array[i] = null
>>
>>?
>__
>Calling Destroy() will not work, I assume.
>
>One possibility is to subclass Session, add a release method and call that - that may work - not tested
>
>
>define class MySession as Session
>
>function Release()
>  release m.this
>endfunc
>enddefine
>
Great !!
It was already subclassed sesion object so it did the trick perfectly!

Funny thing is that is needed only when executing frx via listener.
Otherwise session releases normaly (as it should), being that local var holding object reference goes out of scope.

Thks+++ 2 everybody
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform