This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Deleting all the cookies by means of a javascript function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Deleting all the cookies by means of a javascript function" Watch "Deleting all the cookies by means of a javascript function" New topic
Author

Deleting all the cookies by means of a javascript function

Gaurav Kshatriya
Ranch Hand

Joined: Mar 07, 2010
Posts: 33
Hi,

My problem is that i want to delete all the cookies set by me when i am closing a child window. I am clicking on a hyperlink and it opens a new window. I am passing some values to the new window. Then i want to close the child window and extract some values from it. Then i close the window. So i want to define a function which is called prior closing the child window which will remove the cookies. So that for the next time when i click on the hyperlink a new window opens and i get new values in cookies.

Regards
Gaurav


Thanks
Gaurav.... Cheers....
 
GeeCON Prague 2014
 
subject: Deleting all the cookies by means of a javascript function