Session shared between hosts?

Discussion in 'ASP.NET / ASP.NET Core' started by Harrison, Mar 23, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Howdy All:

    I have a root domain pointer add, making there two ways to get to a page, i.e. http://www.site1.com/page.aspx and http://www.site2.com/page.aspx.

    My question is, how can I share session variable between these two hosts? Is there a web.config setting I can tweak?

    I appreciate any assistance you can provide.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    There is not easy way to enable this as far as I know.
     
  3. Kinda what I was finding also.

    Thanks for the response, Bruce.
     
  4. I think the only way to fudge this would be to share SQL Server data for the session.
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    I'd agree but I think you'll have to mess with the application ID and it gets real messy.
     
  6. Yup...it will be messy and hard to test. ;-)
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page