Case:
IIS 7.5 does not handle wildcard subdomains by itself, so the work is done via DNS and IIS domain pinned directly to a specific IP adress.
Problem:
Session variables are not shared across main domain.com and sobdomain1.domain.com
Most prominent solution on the internet seemed to rely on adding the following line of code into web.config
<httpCookies domain=".domain.com" httpOnlyCookies="true" requireSSL="false" />
However, it did not solve the problem.
Looking forward to some bright ideas. Thank you