KB Issue'' is not declared. It may be inaccessible due to its protection level.
Issue DetailsWhen reading from a cookie, you have to make sure you wrap the cookie name and value in double quotes.
Recreate Issue[ASP.NET - Incorrect way to call a cookie]
CFFCS |
|
ASP.NET (VB/C#)
Dim strcsun As String = Context.Request.Cookies(mycookie)("User")
In the above, we can see that the cookie name is mycookie
and it is not enclosed in double quotes. "mycookie"
Resolve Issue[ASP.NET - Proper Way to call a Cookie]
CFFCS |
|
ASP.NET (VB/C#)
Dim strcsun As String = Context.Request.Cookies("mycookie")("User")
Enclosing the cookie name with double quotes: "mycookie"
Resolves this issue.