Use session to record values.