I have a .net web application with the following domains: www.domain.com sub.domain.com files.domain.com
When a user logged on to domain.com or sub.domain.com, I would like them to share session state (i.e., they were registered in both domains at the same time). This can be done by setting the domain in the coookie session as ".domain.com". However, my problem is that the "files.domain.com" domain should not have session state due to security problems (xss attacks from user files hosted in this domain are a problem).
Is it possible in ASP.NET to use the same asp.net session identifier for these two domains, but not the third?
Thanks in advance!
source
share