Hi,
I have a requirement to delete a particular cookie on click of a hyperlink displayed on my site. On clicking this hyperlink on my website, a new window of another website pops up which creates and stores cookie on the client machine. But i am unable to retrieve the cookie (that was stored by the other website). I tried using document cookie call (with Javascript) as well as get cookies method of the request object (with
JSP). If i check the list of cookies explicitly through the browser, i can see the same cookie with its value. But though my code, i am unable to retrieve it.
Can anybody shed some light on this and let me know how to read and then delete cookies (that are created by another website) through the Javascript code in my website.
Any help would be appreciated.
Thanks in advance !