File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Deleting Cookie from Parent Window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Deleting Cookie from Parent Window

Ash Tengshe

Joined: Nov 25, 2003
Posts: 4
(I posted this on the Servlet forum too, sorry for the double post, its kind of urgent.)
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.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Regardless of how urgent you think your question is, cross-posting is not allowed. Please choose the best forum for your question and post it there. Don't worry too much about getting it wrong -- a bartender will move the post if it would be better asked in a different forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Deleting Cookie from Parent Window
It's not a secret anymore!