Can multiple names be assigned to the domain of a cookie?

Alessandro A. Garbagnati

[I am setting domain as '.abc.com' for a cookie. I want the same cookie to be accessible to '.abc.net'. How can this be achieved by using a single cookie?]

I don't think you can do that. The cookie specification defines only one domain per cookie, so I don't think there is a way to read the same cookie from more than one domain.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact