Sanjeev Singh
How many types of session in ASP.NET
By Sanjeev Singh in ASP.NET on Oct 31 2008
  • Shravan Chaurasiya
    Apr, 2016 27

    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

    • 0
  • sambasiva rao
    Sep, 2014 11

    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.

    • 0
  • Narendra Kumar
    Apr, 2014 2

    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.

    • 0
  • santosh singh
    Jan, 2014 21

    Please visit here to see Session Management in ASP.NET http://aspdotnetcode.blogspot.in/search/label/Interview

    • 0
  • sandip singh
    Dec, 2013 30

    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

    • 0
  • sandip singh
    Dec, 2013 30

    asp.net supports 4 types of sessions 1)in process 2)state server 3)sql server 4)custom

    • 0
  • sandip singh
    Dec, 2013 30

    asp.net supports 4 types of sessions 1)in process 2)state server 3)sql server 4)custom

    • 0
  • sandip singh
    Dec, 2013 30

    asp.net supports 4 types of sessions 1)in process 2)state server 3)sql server 4)custom

    • 0
  • pramod prasad
    Apr, 2012 27

    Two Types 1-Inprocess 2-OutProcess

    • 0
  • sanjeev kumar
    Nov, 2008 4

    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).

    • 0
  • Rajesh G
    Nov, 2008 2

    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

    • 0
  • Rajesh G
    Nov, 2008 2

    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

    • 0
  • Rajesh G
    Nov, 2008 2

    asp.net supports 4 types of sessions 1)in process 2)state server 3)sql server 4)custom

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS