Forum Discussion
Photo_G_84660
Nimbostratus
Sep 19, 2006LocalLBVirtualServer.Abort() method ?
Hi,
I'm trying to code a "stop" button sub routine in VB .NET, which will log out of the BIG-IP, so that a new iControl (PreAuthenticated) session can be established to another device (via a "start" button), without exiting the application and restarting. I see that there is a LocalLBVirtualServer.Abort() method, but I am not sure how to (or if I should) use this to cleanly end the connection. Does anyone have an example of this type of method in action?
Thanks in advance,
Scott H.
- There really is not a concept of logging in or out with iControl calls. The interface stubs that VS creates are basically wrappers around HTTP calls. Each call is independent of each other.
m_virtualServer.Url = "https://bigip1/iControl/iControlPortal.cgi" m_virtualServer.Credentials.Username = "username1" m_virtualServer.Credentials.Password = "password1" ... Make iControl calls to bigip1 ... m_virtualServer.Url = https://bigip2/iControl/iControlPortal.cgi" m_virtualServer.Credentials.Username = "username2" m_virtualServer.Credentials.Password = "password2" ... Make iControl calls to bigip2 ...
- Photo_G_84660
Nimbostratus
Got it sir. Thanks again! - Glad to help...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects