servicestack - Service Stack set HttpCookie.Secure Flag / Attribute? -


i'm trying set secure flag on session cookies (ie https://www.owasp.org/index.php/secureflag).

i've attempted:

public override void configure(container container) { ... config.onlysendsessioncookiessecurely = true; ...  }  

without success - when viewing in fiddler, chrome developer tools, etc - secure flag not being set. appreciated.

you need use setconfig() when configuring servicestack, e.g:

setconfig(new hostconfig {     onlysendsessioncookiessecurely = true, }); 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -