Okay, I figured out what I was doing wrong. I placed the code on the DCOM's AfterConnect event instead of the logon. I thought AfterConnect occured after teh UserName & Password were verified and teh database opened. I now know (I think) it only referes to to connecting to the remote data module - not actually opening the database.

I have another question though. How do you disconnect a specific user from the app server? I modified the DOA 3-tier demo to add/remove the current user's username to a listbox on connect/destroy. I would like to add a popup menu that takes the username from the listbox and disconnects them from the server. The OracleSession LogOff procedure seems to want to log everyone off. Is it possible to disconnect a single user?

------------------
----------
Jay


----------
Jay