T Tina Apr 28, 2005 #1 When I use Request.Browser.Cookies I always get true returned. Even when the browser has cookie acceptance turned off. Why? Thanks, T
When I use Request.Browser.Cookies I always get true returned. Even when the browser has cookie acceptance turned off. Why? Thanks, T
J Juan T. Llibre Apr 28, 2005 #2 Because that only checks for the *capability* to accept cookies. If the browser has cookie acceptance turned off it will *still* return True. What you need to do is issue a cookie and check for its existence. *That* will tell you whether the cookie was accepted. Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... ======================
Because that only checks for the *capability* to accept cookies. If the browser has cookie acceptance turned off it will *still* return True. What you need to do is issue a cookie and check for its existence. *That* will tell you whether the cookie was accepted. Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... ======================