.net samesite cookie 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");