Session IDs

Session IDs contain information used by the Web Service to identify the client user through transactions without having to send the user name and password each time. The Web Service assigns a session ID to the client at logon which is valid until the client sends a logout request to the Authenticate service to terminate the session.

Use the following syntax to get a session ID:

C# and Java

sessionid = (authenticate).login(username, password, dsn);

To use any function or method of the Application interface, send the sessionid from the login with the following syntax:

C# and Java

application.save(sessionid, container, scope, reloadType);

To correctly end the transaction between the user and the Web Service, the user must logout from the server using the Authenticate logout function and provide the session ID he wants to close. Use the following syntax to logout, close a session ID, and stop any further transactions

authenticate.logout(sessionid);