Хабр Курсы для всех
РЕКЛАМА
Большая витрина: от крупнейших школ до частных авторов. Сравнивайте по цене, длительности, формату и выбирайте самый подходящий курс!
The server can alter the default scope of the cookie using the Path
and Domain attributes. For example, the server can instruct the user
agent to return the cookie to every path and every subdomain of
example.com.
Set-Cookie: SID=31d4d96e407aad42; Path=/; Domain=example.com
Единственная защита — это фильтрация куков
Типичная ошибка при установке COOKIE в PHP