Is it possible to serve an ASPX page without it setting a cookie on your browser?

Posted by Django Reinhardt on Stack Overflow See other posts from Stack Overflow or by Django Reinhardt
Published on 2010-06-17T11:49:22Z Indexed on 2010/06/17 11:53 UTC
Read the original article Hit count: 236

Hi, we're in the process of trying to speed up the performance of our website by serving static content from a cookieless domain. That seems to be going well, but I have a new question:

I know that it's "static content" that we're talking about when serving it from a cookieless domain, but we also have static content being served by ASPX pages, specifically images. For example:

domain.com/resizeImages.aspx?src=images/image123.jpg&width=400&height=400

Pretty standard stuff, and although it's being served by managed code, it's still a static image.

So my question is: Is it ok to serve the resizeImages.aspx image from our cookieless/static domain? And if so, how do I go about stopping ASP.NET from setting a ANONYMOUSASPX cookie every time I try?

Thanks for any help!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about web-development