Store configuration in session