I am having an issue with testing my asp.NET website. lets say the form is defualt.aspx. When I try to open the form it gives me this weird error while trying to request a cookie value example:
cookieVal = Request.Cookies["cookie"].Value;
The error message says:
An exception of type 'System.Null.ReferenceException' occured in
App_Web_default.aspx.dfa151d5.jahcut42.dll but was not handled in user code.
Is there anything I can do to fix this issue? I am very lost as I never had this error before. Thank you!