Community & Support

How to create Session variables that apply to entire site

I am using one codebase with over 1,000 domains. Each domain represents a city. I need to define two session (or some other 'sticky') variables calle $city and $state

I tried adding them to the settings.php files within the sites folders, but that generates an error.