Why do I get error message ‘System.Web.HttpException: Request is not available in this context’ ‘ when using Cookies

Platform: ASP.NET|Category: Miscellaneous

Try using ‘System.Web.HttpContext.Current.Request.Cookies’ instead of ‘Request.Cookies’ in your code.