Home / FAQ / ASP.NET / Miscellaneous / Why do I get error message ‘System.Web.HttpException: Request is not available in this context’ ‘ when using Cookies
Try using ‘System.Web.HttpContext.Current.Request.Cookies’ instead of ‘Request.Cookies’ in your code.
Platform BlazorASP.NETWinFormsWPFAngularReact
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with