My .net web application need to be compatible with the samesite cookies and iframe is used to display the content. When the samesite cookie settings are tested for iframe using https://samesite-sandbox.glitch.me/ it fails. But when tested on any browser https://samesite-sandbox.glitch.me/ the samesite cookie settings are working fine. Tried setting samesite cookies in javascript using document.cookie and in webconfig, there is no change in the result shown in (https://samesite-sandbox.glitch.me/). Inspite of any cookie settings made the iframe cookie settings are not working.