Reputation: 420
While trying to persist a cookie for future reference, can't get it:
Response.Cookies.Add(new HttpCookie(COOKIE_LMNOMBRE)
{
Domain = "SIG", Value = userName
});
Checking on Firefox firebug, there is no cookie!
Upvotes: 1
Views: 105
Reputation: 2700
Are you sure about the domain name? Have you tried removing the domain name?
HttpCookie cookie = new(COOKIE_LMNOMBRE)
{
Value = userName
};
Response.Cookies.Add(cookie);
Upvotes: 2