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 owin authentication?
What does this do? sn -t foo.dll
How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are the limits?
To redirect the user to another page which method do we use without performing a round trip to the client?
How to store a dataset in a viewstate?
What data type does the Range Validator control support?
When is an object collected by the Garbage Collector? [Four options were given]
Can i have both C# and vb.net code in same assembly?how?
what is roles in asp.net
Advantage of data Reader?
Can a master page inherit another master page?
13 Answers Emphasis, IBM, NIIT, Sebiz Square,
What is the difference between excute query and excute nonquery.?
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)