Log out and login into different database [message #511008] |
Thu, 09 June 2011 01:36 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/0cf2cb2cbf3e7ec8bbf360750f789924?s=64&d=mm&r=g) |
nitinoracle
Messages: 6 Registered: January 2011 Location: Melbourne
|
Junior Member |
|
|
Hi,
I need to design my login form to be able to connect to different database environment (Env1 and Env2).
When the login form is loaded it is already connected to Env1, after the user enters his login details he has option to continue with Env1 or connect to Env2.
I used the "Logout;" to disconnect from already connected Env1 and used "Logon(<username>,<pwd>@<Db instance>);" but i see that the form will connect to Env1 irrespective of what environment credentials i provide in Logon.
Kindly let me know how i can disconnect from Env1 and connect to Env2. Is this possible?
|
|
|
|
|