Use session read method to determine the current realm.