with readOnly session support