开发者

Can cookies sent by PHP be disabled from the server?

开发者 https://www.devze.com 2023-02-14 16:25 出处:网络
Can cookies sent by PHP be disabl开发者_运维技巧ed from server?Yes, they can. You can do this using .htaccess by setting the following values:

Can cookies sent by PHP be disabl开发者_运维技巧ed from server?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消