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 webresource axd?
What is difference between Lambda Expression and LINQ in ASP.NET?
What is _dopostback in asp net?
What is the difference between equals() and == in c#?
Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?
can machine.config file orverrides web.config. For example: if u set session timeout as 30 mins in web.config file to a particular application and if u set session timeout as 10 mins in machin.config. what will happen and which session is set to the appliction?
Do you know about caching with the datasource controls?
Which is faster viewdata or viewbag?
What is the difference between session state and session variables ?
What are asynchronous callbacks ?
6 Answers Accenture, BirlaSoft,
Features in ASP.NET ?
relacement of websevices in .net 3.0?
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)