Prevent Cookies From Being Sent on AJAX Request

Send AJAX requests to cookie-less subdomain on your server. So you app is www.mydomain.com and ajax requests are served from api.mydomain.com which you never set a cookie on. Also a great idea to do this with static files like images etc…

see the “Use Cookie-free Domains for Components” section of http://developer.yahoo.com/performance/rules.html

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)