Change session settings.