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 how does .net mobile work? : Microsoft dot net mobile

502


can u give me real example of how web.config overrides the machine.config file?

1297


Use of Enable view state ? if turn off what happen ?

3817


which is the institute in hyderabad for providing the live project industry training

2337


how to make and display a form without title bar?

1488






difference between Response.write,server.transfer and also which one is used when ?

1470


Explain hard disk and what is its purpose? : .NET Architecture

532


What is the access level of the visibility type internal?

604


Explain the Lapsed Listener problem in .net

674


Explain the purpose of cache? How is it used? : Dot net architecture

545


Can I customise the trace output?

646


What are public and private assemblies ?

538


12. Types of polymorphisem[Run and Design Exp.]

1652


Does application frame need host?

498


Define an interrupt? : Dot net architecture

554