[TYPO3-dev] Serving static content from a different domain

Steffen Gebert steffen.gebert at typo3.org
Tue Apr 5 23:13:04 CEST 2011


> I was wondering, as you posted that link to the nginx config,
> how it would be possible to "disable" cookies server-side. Aren't
> the cookies sent in the request headers anyway, if the cookies
> are set client-side e.g. via JS?

The JS is executed in the context (=domain) of the web page, not the 
domain, where the JS file is coming from. Same for PHP.
Thus, cookies are only sent to / required for the web site server, not 
for the images server. To make sure, you can delete all cookies, which 
are sent to this server (however the UA thinks that it should send 
cookies..)

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 v4 Core Team Member

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org




More information about the TYPO3-dev mailing list