Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deleting Cookie from Parent Window

 
Ash Tengshe
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am setting a cookie at a parent window level, then with a child window I am trying to delete the cookie.
By setting the expiration of the cookie to an old date, it appears to delete the cookie from the child, but not the parent.
Is there a way that I can delete the cookie at the parent browser level from a call at the child? I am using java to create the cookie and then I update it with the child window using javascript.
Thanks,
Ash
 
Tim Baker
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
presuming you set the domain on the cookie to be correct and both pages share that domain you should be able to expire them in the way you described.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic