Hoping someone might be able to help with an issue I'm having. My application has worked fine on all versions of IE, until IE11.
Now I am having an issue with the following lines of code:
if (HttpContext.Current.Request.Browser.Cookies == false) Response.Redirect(string.Format("{0}{1}", this.AppSettings.LoginURL, Constants.PAGE_NOCOOKIES));
The error I am getting is as follows:
Message: Response is not available in this context. Source: System.Web TargetSite: System.Web.HttpResponse get_Response() StackTrace: at System.Web.UI.Page.get_Response() at APP.Application.Resources.Pages.PortalPage.CheckCookiesAreEnabled()
Any help would be appreciated, even to point me in the right direction here!
Thanks