I'm using javascript to remove a cookie but for some reason it isn't working with Chrome. The script I'm using is;
function clearCookie()
{
document.cookie = 'myCookie=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/myPath/';
}
This works on;
- IE 8.0.6
- Firefox 3.6.12
..but doesn't work on Chrome 7.0.517.44, after the cookie is supposed to be cleared I can still see it and the value hasn't changed.
Any ideas? Are there any user settings in Chrome that might prevent my cookie from being removed?