proper query against session server