Solved

IIS workprocess

Posted on 2013-01-04
1
284 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
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

920 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

13 Experts available now in Live!

Get 1:1 Help Now