hotti: Gemeinsame Cookies für verschiedene Domains

Beitrag lesen

hi,

Gibt es da einen Trick, so wie den, dass man www.example.com und example.com sehr wohl in einen Cookie bekommt?

Subdomains: ja. Setze den Paramter
domain=.example.com

dann schickt der Browser den Cookie auch an die Subdomains.

If no domain is specified, then the browser will only return the cookie to servers on the host the cookie originated from.

Hotti