G
Greg Smith
I am learning to create cookies. When I do something like this:
Response.Cookies["Username"].Value = "fred";
Response.Cookies["Username"].Expires = DateTime.Now.AddYears(30);
I get a cookie with the name of the host in it, i.e.. greg@localhost or
greg@myServerDNS.
I would like to give it a specific name. Is there a way to do so?
Any help is greatly appreciated.
Response.Cookies["Username"].Value = "fred";
Response.Cookies["Username"].Expires = DateTime.Now.AddYears(30);
I get a cookie with the name of the host in it, i.e.. greg@localhost or
greg@myServerDNS.
I would like to give it a specific name. Is there a way to do so?
Any help is greatly appreciated.