Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

IIS workprocess

Posted on 2013-01-04
1
Medium Priority
?
309 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 1500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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 …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

597 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