I am trying to create a cookie using the masterpages. The site that reads the cookie doesn't see it. They are both in the same domain. I am creating the cookie in the load event. The cookie isn't being created. Here is my code:
HttpCookie aCookie = new HttpCookie("DDPASecurity");
aCookie.Values["Auth"]="user@domain.com";
aCookie.Domain="domain.com";
aCookie.Expires = DateTime.Now.AddDays(1);
Did you add your Persist
Did you add your Persist Cookie Object into Response object for future use?
ref: http://www.c-sharpcorner.com/UploadFile/annathurai/518/Default.aspx