v11 iControl: Sessions
Introduction
Version 11 introduces the concept of iControl sessions. iControl sessions are a stateful set of attributes (at this time, active folder and transaction) that persist across multiple re...
Updated Mar 18, 2022
Version 2.0George_Watkins_
Historic F5 Account
Joined September 17, 2008
Nagaraj_130672
Oct 21, 2016Nimbostratus
Thank you for this post.
For users using Java SDK, set the session value as shown below for the same example
Interfaces iControlInterfaces = null; iControlInterfaces.initialize(device ip, username, password); String session_identifier = String.valueOf(iControlInterfaces.getSystemSession().get_session_identifier()); iControlInterfaces.getSystemSession().setHeader("urn:iControl", "session", session_identifier); iControlInterfaces.getLocalLBPool().setHeader("urn:iControl", "session", session_identifier);