Acknowledge events only when a valid session is present