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?

Answer Posted / m venkata murali krishna

The simplest form of this question is , which mode of
session state you need to choose to persist the state
across mulitple webservers?
Answer is: StateServer, SQL Server, may be you can go for
custom also.
Explanation about modes:
ASP.NET session state supports several different storage
options for session data. Each option is identified by a
value in the SessionStateMode enumeration.
InProc mode: which stores session state in memory on the
Web server. This is the default.
StateServer mode: which stores session state in a separate
process called the ASP.NET state service. This ensures that
session state is preserved if the Web application is
restarted and also makes session state available to
multiple Web servers in a Web farm.

SQLServer mode: stores session state in a SQL Server
database. This ensures that session state is preserved if
the Web application is restarted and also makes session
state available to multiple Web servers in a Web farm.

Custom mode: which enables you to specify a custom storage
provider.

Off mode: which disables session state.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about cookie less session state? : .NET Architecture

551


readonly syntax ?

1404


Explain 'managed' mean in the .NET context

687


So what exactly is the configuration file for then?

551


Explain the types of memory management? : Dot net architecture

494






How do you handle this COM components developed in other programming languages in .NET?

575


What is .net mobile utility controls. Explain with an example? : Microsoft dot net mobile

459


Explain the difference between primary & secondary storage device? : .NET Architecture

524


how to change row background color in gridview

552


Session State and can i store desirialized object in state server, if yes how and if not why.

1344


Difference between type constructor and instance constructor?

539


Explain pipelining? : .NET Architecture

538


State and explain about microsoft.net?

522


What is different about namespace declaration when comparing that to package declaration in java?

555


How do I prevent concurrent access to my data?

543