The session store is probably on the local web machines and the load balancer is not 'sticky' meaning that every HTTP request goes to one server or the other based on round robin.  When the user logs in, the session is stored on machine A and then on the next request, he has a 50% chance of hitting machine B and having an unrecognized session and then the same 50% chance of failure every time.

Change the sessions to be database backed, or managed by the load balancer, or use sticky load balancing if the device supports it.


--
Kili.io - OpenStack for Africa: kili.io
Musings: twitter.com/varud
About Adam: www.linkedin.com/in/adamcnelson


On Tue, Aug 27, 2013 at 10:58 AM, Nicholas A <niodanga@gmail.com> wrote:
Hi All,

I have an ASP application running in load balanced environment. It is hosted in two servers and a one db. It has a load balancer (content switch) that is replicates activities between both servers. I have scripts that are checking for updated content on both servers, running on the task scheduler. 

The issue is that the users are being logged out after every five seconds upon logging in, other users cannot log into the system as so. 

All the timeout and idle time in the web config and IIS7 are okay.

I did a session test and the users are not loosing their session IDs.

What could be the problem or what is logging the users out?



_______________________________________________
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke