Change
cookie.Path = Request.Url.GetLeftPart(UriPartial.Authority);
to this
cookie.Path = "/";
I am assuming you want to apply the cookie to the whole domain.
Change
cookie.Path = Request.Url.GetLeftPart(UriPartial.Authority);
to this
cookie.Path = "/";
I am assuming you want to apply the cookie to the whole domain.