Creates a new session object.
- Parameters
-
userId | The user ID for the session. |
control | A proxy to the session control object. This proxy is null when Glacier2.Server.Endpoints is not configured. |
- Returns
- A proxy to the newly created session. This proxy is never null.
- Exceptions
-
CannotCreateSessionException | Thrown when the session cannot be created. |