Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wiping out (data)Session object
Message
 
 
À
26/05/2008 10:12:33
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:
01319499
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)?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform