In each request/response , the cookies are being sent back and forward.
what about :
<img src='myPic.jpg' />
does the browser sends the cookies also for that request ?
if, so : is there any switch that tells : “for pictures type , do not send the cookies“.
Sort of. What you can do is serve pictures off a separate domain. StackOverflow, for example, uses sstatic.net. As long as you never, ever, ever set a cookie on that separate domain, all requests to it will lack any cookies, which can have positive performance implications if you like to put a lot of data in your site’s cookies.