>Hi,
> Thank you... it works now.....
> However, I have a question. I have mysession = .NULL. in my statement, why don't it works?? Somebody told me that it just the same with RELEASE mysession.. is it?
>
>Thank you
John,
That depends on whether or not there is another reference to the object somewhere else. With VarName = NULL the object won't go away until all of the VarNames pointing to that object have been nulled.
The best general design is to give your class a DoRelease method athat cleans everything up and then RELEASE THIS at the end of the method.