How many types of sessions are there?
Answers were Sorted based on User's Feedback
Answer / sushil
asp.net supports 2 types of sessions
inprocess:session maintained by application domain[default]
outprocess:session maintained outside application
domainexternal to worker process.the external process can be:-
(i)state server:is a service of o/s which comes with .net
installation.this supports temopary storage.
(ii)sqlserver:persistent storage is supported.
(iii)custom:requires manual coding
cookieless session:it is a concept of providing sessionid to
client by appending to url.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / braj bhasker singh
Four Types of Session Types-
1. InProc mode- which stores session state in memory on the
Web server. This is the default.
2.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.
3.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.
4.Custom mode- which enables you to specify a custom
storage provider.
5. Off mode- which disables session state.
| Is This Answer Correct ? | 5 Yes | 0 No |
How does the cookies work in asp.net?
What are web beacons used for?
Explain model, view and controller represent in an mvc application? : asp.net mvc
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
In a webpage if i want to give access to only half page ,then what should i do?
Which is better php or asp.net?
Explain which is best suited place in the Application Start and Session_Start subroutines with an example?
How can we implement a identity (sql server) call in an asp.net page?
What does asax stand for?
Where would you use an IHttpModule, and what are the limitations of anyapproach you might take in implementing one?
In what order do the events of an ASPX page execute. As a developer, why is it important to understand these events?
5 Answers Syntax Softtech, TCS,
What is difference between session and cookies?
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)