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

  • Home
  • SEARCH
  • 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 6664435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:36:37+00:00 2026-05-26T02:36:37+00:00

In my current asp.net application, i’m storing the session variables in the SQL server

  • 0

In my current asp.net application, i’m storing the session variables in the SQL server. If you specify InProc, then the session is kept in the server memory, but for out of proc (in my case), the session is kept in SQL server.

Is this really true? From what I read, with every request that needs session access (basically every page request) will deserialize the session from db and save it back once the request completes. This means that the values will be kept on the web server once it is retreived. How is this different from the InProc then?

For Out of Proc, does it only retreive the one session variable when that is requested for? Otherwise, it sounds to me like it is the same as InProc. What am I missing.

  • 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-26T02:36:38+00:00Added an answer on May 26, 2026 at 2:36 am

    Is this really true?

    Yes, it’s true.

    From what I read, with every request that needs session access
    (basically every page request) will deserialize the session from db
    and save it back once the request completes. This means that the
    values will be kept on the web server once it is retreived. How is
    this different from the InProc then?

    Values are stored in memory only for the duration of the HTTP request. In the beginning of the request they are loaded from SQL Server and at the end of the request they are saved into SQL Server. This is different than InProc where values are kept into memory between requests. And because different requests (from the same user) could be served by different nodes in your server farm, using SQL Server guarantees that all nodes of the farm will share the same session values.

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

Sidebar

Related Questions

I've a ASP.Net application which utilizes SQL Server Stored Procedures and Web Services using
Summary We have an ASP.NET application that allows users to query a SQL Server
I'm in a ASP.NET application using Windows Authentication. I'm using HttpContext.Current.User.Identity.Name to get the
I'm debugging the HttpContext.Current.Request.Cookie values in an ASP.NET web application, and finding the only
I need a way to tell ASP.NET Kill the current session and start over
Is there a way to access the file-system outside of the current ASP.NET application,
In our current Asp.net MVC application we have 2 menu systems one accross the
We use MapInfo MapX mapping engine in our ASP.NET application. After server (Windows Server
I've built a very simple chatroom-like ASP.NET application which displays current Online/Offline users: I
In my current project, we need to authenticate users of an ASP.NET application against

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.