title: WSO2 check if user is authenticated JSESSIONID, if session is still valid
body: <p>I am using the AuthenticationAdmin webservices supplied by WSO2 Identity Server 4.1.0 for user authentication.</p>
  
  <p>With the webservice operation 'login', I can authenticate a user and retrieve a JSESSIONID.</p>
  
  <p>The created session will eventually time out. How do I check whether the session is still valid?</p>
  
  <p>Some context (also to check if I am getting this right):
  I running a secondary webservice which is not 'protected' by the WSO2 server. I can modify this secondary webservice, so that it can check whether or not a user has successfully logged in. But I dont know how.
  So once the JSESSIONID has been retrieved, I will need to use it every time the user is accessing the secondary webservice.</p>