0
My Cookie Retrieval Method is Bringing You Words With Disfigured Accent.
//Para gravar um Cookie
private static void Set(string key, string value)
{
var encValue = value;
var cookie = new HttpCookie(key, value)
{
Expires = DateTime.Now.AddMinutes(_cookieDuration),
HttpOnly = _cookieIsHttp
};
_context.Response.Cookies.Add(cookie);
}
//Para ler um Cookie
public static string Get(string key)
{
var value = string.Empty;
var c = _context.Request.Cookies[key];
return c != null
? c.Value
: value;
}
@Andersonos is the way you solved?
– Leandro Angelo