C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
iOS
Java
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
13
Reply
How many types of session in ASP.NET
sanjeev singh
17y
75k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
Session Management can be achieved in two ways1)InProc 2)OutProcOutProc is again two types 1)State Server 2)SQL ServerInProc Adv.: 1) Faster as session resides in the same process as the application 2) No need to serialize the data DisAdv.: 1) Will degrade the performance of the application if large chunk of data is stored 2) On restart of IIS all the Session info will be lostState Server Adv.: 1) Faster then SQL Server session management 2) Safer then InProc. As IIS restart won't effect the session dataDisAdv.: 1) Data need to be serialized 2) On restart of ASP.NET State Service session info will be lost 3)Slower as compared to InProcSQL Server Adv.: 1) Reliable and Durable 2) IIS and ASP.NET State Service restart won't effect the session data 3) Good place for storing large chunk of dataDisAdv.: 1) Data need to be serialized 2) Slower as compare to InProc and State Server 3)Need to purchase Licensed version of SQL Server
Shravan Chaurasiya
9y
0
There are three kinds of session, and they are listed as follows 1. Inprocess. 2. Outprocess. 3. Sql server session.where they are stored. 1. inproc - default stored in web.config. 2. outproc - stored in server side. 3.Sql server - stored in database.
sambasiva rao
11y
0
You have following types of session management in asp.net which you can define in your web.config fileSession mode="inproc"...means the session will be stored on the webserver within your application session mode="outproc"....means session will be stored on the server outside your application session mode="stateserver"...means session will be stored in a temporary memory in the database session mode="sqlserver"...means session will be stored in the database permanently.
Narendra Kumar
11y
0
Please visit here to see Session Management in ASP.NET http://aspdotnetcode.blogspot.in/search/label/Interview
santosh singh
11y
0
asp.net supports 4 types of sessions 1)in process:The session with in application domain under workprocessor is called in process session. The session out side app domain external to workprocessor is called out process session. the external process for maintaining session can be 2)state server 3)sql server 4)custom[it requires manual coding
sandip singh
11y
0
asp.net supports 4 types of sessions 1)in process 2)state server 3)sql server 4)custom
sandip singh
11y
0
asp.net supports 4 types of sessions 1)in process 2)state server 3)sql server 4)custom
sandip singh
11y
0
asp.net supports 4 types of sessions 1)in process 2)state server 3)sql server 4)custom
sandip singh
11y
0
Two Types 1-Inprocess 2-OutProcess
pramod prasad
13y
0
Three Types of Session
i) inprocess session
II)out Process session
III) SQl-server session
Inprocess session by default in web.cofig File.
out process is stored at server side.
sql-server session is stored in Database(sql).
sanjeev kumar
17y
0
asp.net supports 4 types of sessions 1)in process:The session with in application domain under workprocessor is called in process session. The session out side app domain external to workprocessor is called out process session. the external process for maintaining session can be 2)state server 3)sql server 4)custom[it requires manual coding
Rajesh G
17y
0
asp.net supports 4 types of sessions 1)in process:The session with in application domain under workprocessor is called in process session The session out side app domain external to workprocessor is called out process session. the external process for maintaining session can be 2)state server 3)sql server 4)custom[it requires manual coding
Rajesh G
17y
0
asp.net supports 4 types of sessions 1)in process 2)state server 3)sql server 4)custom
Rajesh G
17y
0
What is GAC in ASP.NET 2.0
What is State Management in ASP.NET.
Message