Reputation: 358
Can cookies sent by PHP be disabled from server?
Upvotes: 0
Views: 1101
Reputation: 23043
Yes, they can. You can do this using .htaccess
by setting the following values:
Header unset Cookie
Header unset Set-Cookie
Please note that if the server has sent cookies to a browser in the past, then the browser might still be sending back cookies to the server.
Upvotes: 4