Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wiping out (data)Session object
Message
From
26/05/2008 14:24:16
 
 
To
26/05/2008 13:14:39
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01319497
Message ID:
01319542
Views:
13
>>>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform