Magento – How to remove cookie data from static content request

cookiemagento-1.9url

I have created a separate domain to serve static content. Also modified URL values in System->Configuration->General->Web.

When I inspect any static content request with firebug in firefox browser, I can see frontend and adminhtml cookies data are also attached to that request.

I want to remove that cookie data from request. How can I achieve this?

Best Answer

You also have to set the cookie domain explicitly in System > COnfiguration > General > Web > Session Cookie Management:

screenshot

If you leave it empty, Magento uses .example.com with a leading dot, which also matches all subdomains.