Check session_id more precisely.