Establishing a session

About this task
If an application is going to perform operations that executed within a session using an application session, it must establish a session first.

To establish a session, the client code must do the following:

  1. Retrieve an instance of CSClient from the context hierarchy.
  2. Establish a session with the server by invoking the establishSession() method.
  3. If the session is not successfully established, attempt to establish it again.