Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wiping out (data)Session object
Message
From
26/05/2008 10:26:49
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01319497
Message ID:
01319500
Views:
15
>>Dear All,
>>
>>Is there efficient way to wipe out session object completely by
>>'brute force'
>>
>>Session object releases itself quiet nicely all by itself, when
>>object ref is kept in local variable reference which goes out of scope.
>>I want to achieve the same effect, but this time session object refs
>>are held in an array. I cannot release entire array because I need other array elements (objects).
>>
>>So I have session ID available, and also object ref.
>>(which hold session object that I am trying to kill)
>>
>>Any idea of how to wipe it out in this situation ?
>>Hope is something simple which I (as usually) overlooked.
>>
>>
>>TIA
>
>Would
>arrObjects[i] = NULL work (where this is a pointer to the session object)?

Hi Naomi

No that is straight shot which I naturally tried first.

Now I actually realised that it is no longer in memory as an object at all. What I am trying to get rid of is datasession that session object created and used.

Any sword for this knot ?
*****************
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