Detecting browser cookies setting

If your functionality depends on cookies, it may be a problem if the user has turned off cookies in their browser. You can detect this situation with this API:

Bool context.ClientVariables.AreDisabled()

If they are turned off, you can display a message to the user indicating the problem.