Creating cookieless application on development machine with asp.net
To don't use the session state feature, put this in the web.config
file:
<configuration>
<system.web>
<sessionState mode="Off" />
</system.web>
</configuration>
On IIS7/Windows 2008 you should disable session state all together for the site. That will disable cookies as well.
In the IIS Manager, select your site, under ASP.NET select Session State and choose Not Enabled.
I setup a seperate site in iis with the cname (host: s.mysite.com, css.mysite.com and js.mysite.com)
In that site's configuration i use the following:
</system.web>
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"></clientCache>
</staticContent>
<urlCompression doDynamicCompression="false" />
<caching enabled="false" enableKernelCache="false">
</caching>
</system.webServer>
</configuration>