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 Session State providers are available in ASP.NET? What are the pros and cons of each?
Can you nest updatepanel within each other?
How can we access static variable?
How many web.copnfig can exists in a web application & which will be used ?
What is three major points in WCF?
what is shared assembly?
What is the differences between a primary key and a unique key in sql server?
What is viewstate? What does the “enableviewstate” property do?
what are the server controls used in sitepath navigation?
What is the difference between custom web user control and a custom web server control?
What are the disadvantages of viewstate/what are the benefits
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
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)