?
Solved

How to set up ASP.NET state service

Posted on 2008-02-02
3
Medium Priority
?
748 Views
Last Modified: 2013-11-26
I am trying to set up the asp.net state service on a multiprocessor service in order avoid the possibility of another session being created if a different processor were to handle a user request.

The only thing I can find on the actual set up is that i simply need to enable to ASP.NET Session Service.  Is that all there is to it ?
0
Comment
Question by:skykingjwc
  • 2
3 Comments
 
LVL 51

Expert Comment

by:Ted Bouskill
ID: 20808250
Using the session service will allow unique sessions to work on multiple systems.  If you followed Microsofts setups recommendations that is all there is too it.
0
 
LVL 4

Author Comment

by:skykingjwc
ID: 20809000
All the MS docs said was to enable the service.
It just seems too easy.  No IIS config, no changes to the code.

I was hoping to find someone that is actually using this service and could verify that indeed all you need to do is turn on the service.

0
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 2000 total points
ID: 20809652
I can confirm that it's easy to do from experience.  However, you do have to make a change to your web.config for any web applications that use it.  ASP.NET web applications will only use the service if configured to do so.  In fact, IIS can use multiple ASP.NET web applications that use either memory, the service OR SQL.

This page shows you how to configure the web.config for any of them: http://www.codersource.net/asp_net_web_configuration_file.html
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
The PowerShell Core 6.0 of .NET release is just the beginning. The upcoming PowerShell Core 6.1 would have artificial intelligence and internet of things capabilities. So many things to look forward to in the upcoming release.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
Suggested Courses
Course of the Month6 days, 17 hours left to enroll

594 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question