Session workflow.