samesite cookie c# net .net framework 4.5 code example
Example: how to change samesite=lax to samesite=none in asp.net
response.Headers.Append("set-cookie", $"{key}={value}; path=/; SameSite=None; Secure");
response.Headers.Append("set-cookie", $"{key}={value}; path=/; SameSite=None; Secure");