>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?
Yes it will as long as there is no other reference. How would you get another reference, well if any code anywhere says;
Something = FormName.oSecurity