How to set up ASP.NET state service

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 ?
LVL 4
skykingjwcAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ted BouskillSenior Software DeveloperCommented:
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
skykingjwcAuthor Commented:
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
Ted BouskillSenior Software DeveloperCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.