My Photo
Name:
Location: United States

Tuesday, May 30, 2006

Session - cookieless and mode

Session management in ASP.NET can be done in two ways:

Using Cookies
Encoding of URLs with Session ID



URL encoding/mangling cannot be used with full-path URL’s as in:


it should be:



ASP.NET supports three modes of session state:
InProc:

StateServer: uses a stand-alone Microsoft Windows service to store session variables. performance is impacted when you cross process boundaries.

SqlServer: use SqlServer mode to leverage Microsoft SQL Server to ensure the highest level of reliability. SqlServer mode is similar to out-of-process mode, except that the session data is maintained in a SQL Server.

Note You can use all three modes with in-memory cookie or cookieless session ID persistence.

0 Comments:

Post a Comment

<< Home