Use JSession to get the session ID