secure session cookie in servicestack -
secure session cookie in servicestack -
can tell me how servicestack utilize secure attribute on session cookies cookie sent on https based requests. of import helping prevent session hijacking. tests far show if servicestack authentication in done on https website still sets cookies no secure meaning if there http requests in site cookies captured.
is there setting or config alter this?
you can utilize config.onlysendsessioncookiessecurely
alternative tell servicestack add together secure cookie sessionids in https requests:
setconfig(new hostconfig { onlysendsessioncookiessecurely = true });
servicestack session-cookies
Comments
Post a Comment