getNextSessionId

getNextSessionId(sessionEncrypt: String output): Integer;

The getNextSessionId method of the Connection class returns the next Web session identifier and returns a string of the encrypted version of that identifier in the sessionEncrypt parameter.

An exception is raised if this method is invoked from a server method when the server node is not running under a Windows operating system that supports services.