Check for cookie blocking RRS feed

  • Question

  • User1510859543 posted

    Is there a way in my asp.net site to check to see if a user has cookies turned off?  If so, I would like to block them from entering the site at the login page.  Thanks.

    Tuesday, November 4, 2014 3:24 PM


  • User-760709272 posted

    Set a cookie, do a redirect and see if the cookie is there after the redirect.  Google for "checking cookies enabled asp.net" is you need sample code.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 4, 2014 3:29 PM