Solved

IIS workprocess

Posted on 2013-01-04
1
283 Views
Last Modified: 2013-01-07
I need configure multiple workprocess on IIS for .NET application, but the user session no exist on another workprocess and the application come back to login page. How can i configure multiple workprocess and this session is valid with all workprocess ?

Thanks you,
Felipe
0
Comment
Question by:fsouza
1 Comment
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
Comment Utility
A site with multiple worker procs is called a webgarden. Session state and multiple worker procs are tricky, so it all depends on your app configuration.

Session-State Modes
http://msdn.microsoft.com/en-us/library/ms178586.aspx

If I had to guess, you are using InProc state management which is not shared between worker processes hence when requests are sent to different procs, they are hit with a login page.  

"If you enable Web-garden mode by setting the webGarden attribute to true in the processModel element of the application's Web.config file, do not use InProc session state mode. If you do, data loss can occur if different requests for the same session are served by different worker processes."

To resolve this you need to use a State Server or remove your webgarden.

Cheers,
Hades666
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now