query_session