Tuesday, July 27, 2010

Session Management

Session is a important object to store serializable information that must be accesible in all pages in the web application.
It has some important points which are as;
  • It is tracked by the 120 bit indentifier
  • Session is tracked with the session ID in two ways
    1. By cookies (session is stored in special cookie ASP.NET_SessionId)
    2. By modified url
  • The session default time-out in 20 mintues
  • Session in controlled in four modes
    1. InProc default mode
    2. StateServer: Here a separate window service handles it known as "ASP.NET State Service".
    3. SQLServer:It is best mode for storage, it is persite event in case of failures.
      To make this enable we use a tool called "aspnet_regsql.exe".The default database for storage of session is ASPState
    4. Custom

No comments:

Post a Comment