Dan Allen
Active member
For integration with other software on our domain, it sometimes is necessary to drop the cookies put onto browsers by XenForo. Unfortunately, I have not found a way to make this happen.
I have been trying to remove the cookies with php using code like this:
This is being done on the https:// connection used when the cookies are put into browser. It's done by a program that does the procees to all cookies for the domain, so there is no chance setcookie is failing from running after data has been sent to the browser. If that were the case, none of the other cookies would drop.
I might as well send my cat for all the good it is doing. This method of dropping cookies works for a lot of cookies, but not the xenforo cookies.
Any hints would be appreciated immensely.
I have been trying to remove the cookies with php using code like this:
PHP:
setcookie ("xf_user", "", time() - 3600);
setcookie ("xf_session", "", time() - 3600);
This is being done on the https:// connection used when the cookies are put into browser. It's done by a program that does the procees to all cookies for the domain, so there is no chance setcookie is failing from running after data has been sent to the browser. If that were the case, none of the other cookies would drop.
I might as well send my cat for all the good it is doing. This method of dropping cookies works for a lot of cookies, but not the xenforo cookies.
Any hints would be appreciated immensely.