What is cookie less session? How it works?

Answer Posted / chandra prakash

You can set the cookieless setting to one of the values defined by the HttpCookieMode enumeration,
as described

1)UseCookies - Cookies are always used, even if the browser or device doesn’t support cookies or they are disabled. This is the default. If the device does not support cookies, session information will be lost over subsequent requests,
because each request will get a new ID.

2)UseUri - Cookies are never used, regardless of the capabilities of the browser or device. Instead, the session ID is stored in the URL.

3)UseDeviceProfile- ASP.NET chooses whether to use cookieless sessions by examining the BrowserCapabilities object. The drawback is that this object indicates what
the device should support—it doesn’t take into account that the user may have disabled cookies in a browser that supports them.

4)AutoDetect- ASP.NET attempts to determine whether the browser supports cookies by attempting to set and retrieve a cookie (a technique commonly used on the Web). This technique can correctly determine whether a browser supports
cookies but has them disabled, in which case cookieless mode is used instead.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is asp.net and how it works?

520


What does asp in asp.net stand for?

527


Why session is necessary in web application?

517


Explain the working of passport authentication.

545


We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?

445






State differences between MVC and WebAPI

611


How can we create a website?

538


What is the good practice to implement validations in aspx page?

640


What is an example of an application service provider?

457


What is the difference between rest and restful?

540


Explain Session state management options in ASP.NET.

599


Why we use asp.net for website development?

501


What is difference between asp.net and asp.net mvc? : Asp.Net MVC

489


What does passport and windows authentication mean in ASP.NET?

653


Name the tools or API for developing or testing web api?

537