Owin cookie authentication set-cookie not saving in browser

橙三吉。 提交于 2019-11-29 03:41:13

I resolved the issue. It was because 'domain=localhost'. It seems to 'localhost' isn't valid value for domain parameter.

Jeremy Bell

You could be encounting a similar issue to: Safari doesn't set Cookie but IE / FF does

Try setting the HttpStatusCode to HttpStatusCode.Ok

Some browsers will only accept cookies from a certain response code (like 200, 302).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!