support multiple endpoints in session