This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Cookies access between sub domains Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Cookies access between sub domains" Watch "Cookies access between sub domains" New topic
Author

Cookies access between sub domains

Rajpreet Bajwa
Greenhorn

Joined: Feb 09, 2002
Posts: 14
I have a cookie in domain a.xyz.com , and want to share this cookie with a server side object in domain xyz.com. I understand that if I write the cookie to .xyz.com then it should be avilable in xyz.com and a.xyz.com. Are these two separate cookies ? How do I ensure that both my server side objects (one in a.xyz.com and xyz.com) access the same cookie.
 
Consider Paul's rocket mass heater.
 
subject: Cookies access between sub domains