Creating applications : Creating applications : Rich Client HelloWorld sample : Overview of Rich Client HelloWorld sample : Establishing a session
  
Establishing a session
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
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.
Go up to
Overview of Rich Client HelloWorld sample