G
Guest
I have an ASP.NET 2.0 site that stores a cookie on the browser. Instead of
the domain name (www.somename.com) it comes accross as the IP address of the
server. This works in Firefox, but fails with IE 6 because of security. I
went through and forced the Domain like this:
this.Response.Cookies["culture"].Value = "en-MX";
this.Response.Cookies["culture"].Expires = DateTime.Now.AddDays(30);
this.Response.Cookies["culture"].Domain = "somename.com";
This results in Firefox denying the cookie, as well as IE. Why is the
cookie coming across as an IP address? Is there a way around this?
Thanks in advance.
Todd
the domain name (www.somename.com) it comes accross as the IP address of the
server. This works in Firefox, but fails with IE 6 because of security. I
went through and forced the Domain like this:
this.Response.Cookies["culture"].Value = "en-MX";
this.Response.Cookies["culture"].Expires = DateTime.Now.AddDays(30);
this.Response.Cookies["culture"].Domain = "somename.com";
This results in Firefox denying the cookie, as well as IE. Why is the
cookie coming across as an IP address? Is there a way around this?
Thanks in advance.
Todd