Tag Archives: Session

Cookieless Session

SessionId is stored at client side in cookies. Therefore we won’t be able to retrieve session’s data in the case when cookies are not enable.
ASP.NET support cookieless execution of the application when the client doens’t have cookies support. The Session id is embedded to the request url.

To set Cookieless session in an ASP.NET application set following value in web.config file
<sessionstate cookieless=”true” />

When you have cookieless session then the url may look like this
http://www.gurunguns.com/Posts/(_entv9gVODTzHuenph6KAlK07..)/test.aspx

Advertisements

Leave a comment

Filed under .Net