>Hi,
> I have the following statement, ...
>
>
>form.Init
>THISFORM.osecurity = NEWOBJECT("osession", "mysession.prg", para1, para2)
>
>form.queryunload
>THISFORM.osecurity = .NULL.
>
>
>Does it release the reference?
>
The reference to the object is gone because you've reassigned the value of the property, and if no other reference to the object exists, the object is gone.