Author: LilMoke | Posted on: 10/13/2010 12:11:08 PM | Views : 281

Hello,
 
Here is my scenario...
 
I have a web app located at www.MyMainSite.com and I have several domains, such as www.MyFirstSite.com, www.MySecondSite.com, etc. all pointing to the same directory in IIS.  I use Host Headers to acheive this by setting the 'Host Header Values' under properties for the main site (under the Web site identification section).  Based on the host header value I perform different functions in my pages.
 
Because of the way I have it set up, all the domains share the same files, web.config, etc.  I have set the 'machinekey' in my web.config and have forms authemtication.  However, when I go to MyMainSite.com and log in and then the user clicks a link and gets directed to MyFirstSite.com the user is shown as logged out ...

Go to the complete details ...