Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wiping out (data)Session object
Message
De
26/05/2008 10:26:49
 
 
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:
01319500
Vues:
17
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform