K
Kevin Blount
I have an existing site that's being update from ASP to ASP.NET (C#).
The site uses cookies and I've having trouble reading them.
For example, one Cookie created using ASP was "member_id", and using
ASP I simply get the value using 'request.cookies("member_id")'
However, using C# I have to replace '_' with '%5F' or it won't get
read, i.e.
string tempVar = Request.Cookies["member%5Fid"]
is this expected, or is there a way to locate the cookie more easily,
i.e. with the underscore character?
tia
The site uses cookies and I've having trouble reading them.
For example, one Cookie created using ASP was "member_id", and using
ASP I simply get the value using 'request.cookies("member_id")'
However, using C# I have to replace '_' with '%5F' or it won't get
read, i.e.
string tempVar = Request.Cookies["member%5Fid"]
is this expected, or is there a way to locate the cookie more easily,
i.e. with the underscore character?
tia