Read config from session.