check session id on server