Is it possible to detect if cookie is enabled on client on ASP.NET server side? Can such info be obtained from the HttpRequest object?
Asked
Active
Viewed 58 times
0
-
1possible duplicate of [Best way to determine if cookies are enabled in ASP.NET?](http://stackoverflow.com/questions/210321/best-way-to-determine-if-cookies-are-enabled-in-asp-net) – Lukas G Jul 21 '14 at 08:04
1 Answers
0
You cannot get such information from HttpRequest.What you have to do is write a cookie first and then try to read it again. If you could able to read it then it means it will accept cookies or else it wont. For more info: “Determining Whether a Browser Accepts Cookies”.