Delete Cookie using JavaScript , in an Iframe

Solution for Delete Cookie using JavaScript , in an Iframe
is Given Below:

The same code does delete cookies from the page when the page is opened directly but not when embedded as an iframe.

document.cookie="uuid=null ; expires = Thu, 01 Jan 1970 00:00:00 GMT; path=/"

I solved my issue by sending ajax request to a page that removes cookies via http header.