What are Session states available and its Uses?
Answers were Sorted based on User's Feedback
Answer / prasad
In process
Out Process
--State Server
-- Sql Server
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / santosh deshmukh
InProc:- In this mode Session state is stored in the memory
space of the
Aspnet_wp.exe process. This is the default setting. If the
IIS reboots or web
application restarts then session state is lost.
StateServer:-In this mode Session state is serialized and
stored in a separate
process (Aspnet_state.exe); therefore, the state can be
stored on a separate
computer(a state server).
SQL SERVER:- In this mode Session state is serialized and
stored in a SQL Server database.
Session state can be specified in <sessionState> element of
application configuration
file. Using State Server and SQL SERVER session state can
be shared across web farms
but note this comes at speed cost as ASP.NET needs to
serialize and deserialize data over
network again and again.
| Is This Answer Correct ? | 6 Yes | 1 No |
What is css and what is it used for?
Explain authorization levels in .net ?
What is csrf attack in asp.net?
what are types of viewstate
What is the difference between session and viewstate?
What are runtime hosts?
What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control?
What are the advantages of using session?
what is difference between java and .net
11 Answers Base2 Infotech, Karur Vysya Bank KVB, TATA AIG, TCC,
What is the role of global.asax?
Why we go for mvc instead of asp.net? : Asp.Net MVC
Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)