GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0

 Print  |  
Question:  If I'm developing an application that must accomodate multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?



February 02, 2008 06:21:46 #4
 binzthomas   Member Since: February 2008    Total Comments: 1 

RE: If I'm developing an application that must accomodate multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain logi
 
Set the sessionstate mode as 'stateserver'

SessionState mode=”stateserver” stateConnectionString=”tcpip=127.0.0.1:42424? sqlConnectionString=”data source=127.0.0.1;user id=sa;password=” cookieless=”false” timeout=”30?


     

 

Back To Question