The Login operation call creates a session for the repository and user name you provide. The session ID that you get from the Login operation call identifies this session. The session ID corresponds to the Metadata proxy object. The Metadata proxy object is valid as long as the session ID is valid. After you call the Logout operation, the session ID becomes invalid along with the corresponding Metadata and Data Integration proxy objects.