rajivkalra 0 Newbie Poster

We are using a widget which makes ajax calls to the server and is associated with the web application that is using state service mode to store session. W e need to check at the time of making an ajax call that whether we can query state service to check the validity of user session. If yes then how?