Using of the configurations to set the session