check whether the session id in invalid @Mennatarek