I have one set of code that powers 5 different websites. Because the code is licenced I am only allowed one installation per server. Each website uses a unique domain. The application automatically changes the branding information for each site, based on the domain name.
The application required sessions. Either cookies or cookie-less sessions may be used. The setting for this is in the web.config file.
Can this be done using a conditional in the web.config file?
Something like this?
I use IIS 7.5.
<sessionState cookieless="UseUri" />
<sessionState cookieless="false" />