change session config.