The question basically explains it all, I'm trying to delete the cookie in PHP and also sending JS to delete the cookie as well, not working ONLY in Chrome...
<?php
unset( $_COOKIE['name'] );
setcookie('name', '', time() - 3600 ); // empty value and old timestamp
?>
<script type="text/javascript">
function deleteCookie( name ) {
document.cookie = name + '=;expires=Thu, 01 Jan 1970 00:00:01 GMT;';
}
deleteCookie('name');
</script>
<a href="cookie.php">cookie</a>
All help is appreciated, thanks!
EDIT: Firebug in Firefox shows no errors, PHP error log shows nothing... the only other thing I can see is that chrome seems to be conserving 1 particular value. name=ABCDE ... if I change it to name=ABC then delete name=ABC it will show name=ABCDE, if I delete name=ABCDE it will still show name=ABCDE