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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T18:12:42+00:00 2026-05-30T18:12:42+00:00

I am using an application variables to store the values and again access it.but

  • 0

I am using an application variables to store the values and again access it.but my Question here as we using multiple servers (web farms). will be there any issue whiling access the values or it not worth to store values in application state variables when we are going ahead with multiple server

Thanks
prince

  • 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-30T18:12:44+00:00Added an answer on May 30, 2026 at 6:12 pm

    No, Application State is not shared across the servers in a web farm, as per the documentation (see the section entitled Scalability).

    Application state is not shared among multiple servers serving the
    same application, as in a Web farm, or among multiple worker processes
    serving the same application on the same server, as in a Web garden.
    Your application therefore cannot rely on application state containing
    the same data for application state across different servers or
    processes.

    You will need to find some other store for this shared information, i.e. via a database or shared cache.

    However, you will be able to share viewstate and forms authenticate tickets across all servers in the web farm, but you must set the <machineKey> to the same values on all servers.

    From the first article below:

    If you deploy your application in a Web farm, you must ensure that the
    configuration files on each server share the same value for
    validationKey and decryptionKey, which are used for hashing and
    decryption respectively. This is required because you cannot guarantee
    which server will handle successive requests.

    These MSDN articles have more information:
    http://msdn.microsoft.com/en-us/library/ff649308.aspx#paght000007_webfarmdeploymentconsiderations
    http://msdn.microsoft.com/en-us/library/eb0zx8fc.aspx

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

Sidebar

Related Questions

Currently we're using Web Application project, so we have a gain with compilation. But
There's a common way to store multiple values in one variable, by using a
Using local variables seems advisable in a partial that could be used application-wide to
In my multithreading application I am using some variables that can be altered by
An older application using System.Web.Mail is throwing an exception on emails coming from hr@domain.com
In my application using DataTemplate mechanism I insert into ListBox item another listbox. But
I am building web application using Spring MVC Spring Security Hibenate MySQl I want
In my web application I am using sessions for storing the user specific data
I am using the android.app.Application class (a subclass) to store some global information. An
I have an application that will, among other things, store various data into a

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.