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 6039637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:23:55+00:00 2026-05-23T06:23:55+00:00

I am looking for some clarity on this topic. I am looking to host

  • 0

I am looking for some clarity on this topic.

I am looking to host my site with a host that will load balance my site over a farm of servers.

Since my MVC site is using Forms Authentication, I assume there will be an issue with each server being able to authenticate the auth cookie sent by the client.

From other posts – I understand that each server needs the same machine key – if they do, then the auth cookie can be read by each server.

What I need clarity on is – can I handle (or, am i suppose to handle) this within my MVC application web.config file? If I am specifying a machine key in the web.config (what i am currently doing ) – I assume that will be the key used to generate the auth cookie and read the auth cookie. Since each server will have a copy of the site’s web.config then I am thinking the cookie sent by the user can be read by any server.

What am I missing?

On my local machine i can go from the VS development server version of the site to my localhost version of the site with the same cookie and be authenticated on both. (seems like a similar scenario)

I believe this post tells me what I am thinking is correct but hoping for more info before going back to the hosting provider – forms authentication persistent across multiple servers

Any insight into this to alleviate my ignorance would be greatly appreciated.

Thanks,
-D

  • 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-23T06:23:56+00:00Added an answer on May 23, 2026 at 6:23 am

    What I need clarity on is – can I
    handle (or, am i suppose to handle)
    this within my MVC application
    web.config file?

    Yes, you can set the machine key in web.config and thus all nodes on the web farm will be able to decrypt the authentication cookie. That’s all you need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While looking at some conceptual questions in C,I came across this question in a
I'm looking for some help converting this from prototype to jQuery. I'm doing some
I've got some code that needs to scan through a hierarchical database schema, looking
I was looking over the JavaScript source code for SlickGrid . I've noticed that
I did some looking around at how other sites might handle this and didn't
Clarification : As per some of the comments, I should clarify that this is
I'm fiddling with a bit of c++/opencv. I was looking some of the samples
Looking for some advice on the best way to implement localization along with client
Looking for some guidance on a WCF service I’m prototyping. I have a WCF
Looking for some resources on SOA / BPEL best practices. Specially BPEL.

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.