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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:37:47+00:00 2026-05-12T08:37:47+00:00

I have an asp.net application running in a server farm. So In-proc sessions are

  • 0

I have an asp.net application running in a server farm. So In-proc sessions are out. There’s no state server. There’s a sql server database (can’t be used for state server). There’s no forcing same web server serving capabilities so no guarantee which web server will serve next page.

I need to save a block of data (big object state) between pages. I don’t want to use viewstate because data could be large and don’t want it to go across the wire.
I could use the database to save the data and use the record id across the wire in a viewstate and retrieve the data for the next page.

Are there better solutions?

  • 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-12T08:37:47+00:00Added an answer on May 12, 2026 at 8:37 am

    Well, I guess you’ve ruled out most options already. And assuming you cannot install other services, two other possibilities come to mind:

    1. Use a writable file share to store the data.
    2. Allow the individual web servers to communicate with each other. For instance, make the machine’s IP or name part of the generated unique identifier; that way, if you reach a different server on postback, that server can call the original server for its data. Mind you: if one server goes down (or the ASP.NET process is recycled), all it’s data is lost.* That shouldn’t happen that often, I hope, regardless of this subject.

    As in the SQL Server version, don’t forget to clean up your data somehow; option 1 is pretty similar to SQL Server in that regard, but in case of SQL Server it could simply be a centralized cleanup job, in the file share case the question becomes: which server is the center?


    *) You could, of course, try to spawn a secondary process from ASP.NET. The problem here becomes: what if that process has problems? It’s not manageable for your sysadmins by default, unless you make it manageable.

    • 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 2.0 web application running on a shared server of a
I have migrated one ASP.NET v4.0 application to a new server running under a
I have an ASP.NET application running on multiple IIS6 web servers, with a SQL
I have an ASP.NET application running on Apache server with mod_mono. If I have
I have a ASP.NET 1.1 application running on IIS 6 / Windows Server 2003.
I have an ASP.NET application which will be running in a web server (Windows
We currently have an ASP.NET Web Application running on a single server. That server
We have a single ASP .NET application running on a single web server (no
I have a ASP.NET web application running on an IIS6 server. The application is
I have a ASP.NET application that connects to a SQL server backend on another

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.