ASP.NET MVC Response Header에 Cookie설정

ASP.NET MVC Response Header에 Cookie설정

Security설정 없음

Response.AppendHeader("Set-Cookie", "testCookie=1234; path=/");

Security설정 있음

Response.AppendHeader("Set-Cookie", "testCookie=1234; path=/; Secure; HttpOnly");

参考サイト

https://developer.mozilla.org/ja/docs/Web/HTTP/Headers/Set-Cookie

Pie's Tech Note

생계형 개발자의 메모장

comments powered by Disqus

    rss facebook twitter github youtube mail spotify instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora