Solved

IIS workprocess

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

728 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