Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wiping out (data)Session object
Message
From
26/05/2008 12:31:40
 
 
To
26/05/2008 11:23:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01319497
Message ID:
01319517
Views:
21
>>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 ?
>
>Make sure that all the aliases in that DS are really closed, =tablerevert() them as needed (or all the buffered ones). Happens in the command window - I can imagine it would happen in runtime as well. We're actually pampered by VFP's doing this sort of garbage collection for us, closing the tables for us when we quit.

I am doing it before trying to release (kill) session objects.
No buffering is used these are all tmp cursors. And they do get closed
but session itself is dangling :(

CC Naomi;
Destroy method does not happen unless I issue more harsh stuff
such is 'clear all' , but that is in this case unacceptable.

I have to enforce releasing partcular session object among others
which are to be kept without killing it all.

I will try to destroy (and then recreate) entire array that holds them
to see if anything changes

TIA
Sergio







*****************
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