Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Terminate Session (COM toolkit + VB)

Status
Not open for further replies.

jaydave6

Programmer
Jan 2, 2002
13
IN
Hi,

I am using COM toolkit with VB6. I use 'Initialize("password")' to init the session and get the database using mySession.GetDatabase("Server1", "Employee.nsf")
-->(At server console, it shows "Opened session for user1/Server1)


Now I want to terminate session forcefully without exiting vb application when I click Logout button.

I tried this... doesn't work !!
-->(At server console, still session for user1 remains open !)

Private Sub logout_Click()

Set domViewEntry = Nothing
Set domViewNav = Nothing
Set domView = Nothing
Set domDocument = Nothing
Set domDatabase = Nothing
Set domSession = Nothing

End Sub

Session cloeses only when I close the application...

Can anybody tell me way to terminate session forcefully ?

Thank you.
Jay Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top