The Following Query Gets The Session Id