Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3393204
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:01:23+00:00 2026-05-18T04:01:23+00:00

We are in a load-balanced environment, the load balancer is www.domain.com, and we have

  • 0

We are in a load-balanced environment, the load balancer is http://www.domain.com, and we have 4 servers that are load balanced using SQLServer sessions for .NET…www1, www2, etc.

The problem is that we also have some legacy ASP stuff that we need to continue to work once we turn Sticky IPs off on the load balancer. So our idea was in the few places where ASP was needed, we would stick the user to a specific server that was decided on login.

For example.

1) User logs into .NET site
2) .NET site finds out what server processed the login request, and write ASP authentication to that server.
3) Server name is stored in variable
4) Anytime user accesses ASP, we use the server name variable to ensure that he/she ends up on the server that has his/her authentication and session.

The issue is that since the actual login request is simply to the load balancer, the session is not around when we direct user to www3.domain.com/blah.asp because it is a different domain than http://www.domain.com.

So I think we’re looking at some way to share sessions across domains, but with a little twist, I guess.

Any help is appreciated, and I hope I conveyed the problem clearly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T04:01:23+00:00Added an answer on May 18, 2026 at 4:01 am

    You can use as the domain of your session cookie the ‘domain.com’ and not the ‘www.domain.com’, so the cookie can be read from www1.domain.com, www2.domain.com etc.

    On the web.config :

    <authentication mode="Forms">
      <forms path="/" domain="domain.com" ..... />
    </authentication>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET application that is running on two load balanced servers. Everything
I have a .net web application in a load balanced environment over 3 servers.
I have 2 load balanced web servers. My application is using the SQL Server
I have a bunch of EC2 servers that are load balanced. Some of the
We have a load balanced (NLB) ASP.NET web app which sends email. The servers
We have several JBoss servers sitting behind a hardware load balancer using a round
I use ASP.NET and WCF services in a load balanced web server environment, using
We have a website load balanced across two servers that calls into a WCF
Getting 401 errors when trying to use ASP.NET back end in load balanced environment
I have an environment where 2 load-balanced clustered tomcats pointing to same application. When

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.