Solved

IIS workprocess

Posted on 2013-01-04
1
289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 38746063
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 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