Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cookies access between sub domains

 
Rajpreet Bajwa
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic