I was wondering if it's possible to delete a cookie in PHP, meaning re-setting it's time to a time in the past, for a specific subdomain from another subdomain.
For example:
say I am executing the following code on one.myserver.com, which is meant to delete a cookie on two.myserver.com
setcookie("ACOOKIE", 0, time() - 3600, "/", "two.myserver.com");
Currently doing it this way is not working for me. Is there any way I could get something like this to work?
Nope, you can only do that from the other subdomain.