We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11b9f17 commit 4033c72Copy full SHA for 4033c72
BlogEngine/BlogEngine.NET/Global.asax
@@ -12,4 +12,17 @@
12
{
13
BlogEngineConfig.SetCulture(sender, e);
14
}
15
+
16
+ protected void Application_PreSendRequestHeaders ()
17
+ {
18
+ var httpContext = HttpContext.Current;
19
+ if (httpContext != null) {
20
+ var cookieValueSuffix = "; SameSite=Strict";
21
+ var cookies = httpContext.Response.Cookies;
22
+ for (var i = 0; i < cookies.Count; i++)
23
24
+ var cookie = cookies[i]; cookie.Value += cookieValueSuffix;
25
+ }
26
27
28
</script>
0 commit comments