php - deleting duplicate cookie on domain -
I am trying to delete a cookie entry from a site. The problem is that when a cookie is registered, it is registered on both the Try and catch both, however, one or the other always stays, and will not be removed / ending. Anyway to force the cookie to end? I also have the use of PHP. If you have access to php then you can set the function: The fifth argument for you is important - the domain. www.domainname.com and
.domainname.com of the site, so there are two entries for the cookie Trying to delete:
jQuery.cookie ("cookie", "", {expires: -5, domain: ".namename"}); JQuery.cookie ("cookie", "", {ending: -5, domain: "www.domainname.com"});
Comments
Post a Comment