a minimal export of session state