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?
Answers were Sorted based on User's Feedback
Answer / raghumadhav tirunagari
Database Support. or Thru state service.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
Answer / virendra sehrawat
The best way is to maintain log in state cookie.
| Is This Answer Correct ? | 1 Yes | 1 No |
Please tell me the .net 2.5 frame work with example
what is the method while we are using adapter and dataset ?
What is the difference between l1 and l2 cache? : Dot net architecture
What is the difference between metadata and menifest ?
how can u manage sessions ?
What is msil, and why should my developers need an appreciation of it if at all?
Explain in-proc,out-proc and sql server.
4 Answers G7 CR Technologies, Ness Technologies,
can aspx page have multi language declarations ?
how we can fire event in databound column in datagrid without using button?
What does the term "green architecture" mean? : .NET Architecture
What is the difference between SAX Parser and DOM Parser?
how would you manage data if u were not to use sessions or cookies ?