To add the ; secure
suffix to the Set-Cookie
http header I simply used the <httpCookies>
element in the web.config:
<system.web>
<httpCookies httpOnlyCookies="true" requireSSL="true" />
<system.web>
IMHO much more handy than writing code as in the article of Anubhav Goyal.