>LOCAL omysession, lOK > >omySession = NEWOBJECT("prgSession", "myclass.vcx", "", username, userpass) >lOK = omysession.GetStatus() &&return value for success or fail >omysession.DESTROY > >Any mistake here? > >Thank you John, Why are you calling the Destroy, that does not destroy the object. The Destroy is an event that fires during the object's destruction. I think your problem may be the session objects that still exist. To get rid of these using your code example; <pre> LOCAL omysession, lOK omySession = NEWOBJECT("prgSession", "myclass.vcx", "", username, userpass) lOK = omysession.GetStatus() &&return value for success or fail RELEASE oMySession