function setSessionCookie(name, value) { document.cookie = name + "=" + value + "; path=/; SameSite=Strict"; } // Set the cookie 'checkoutversion=new' for the session setSessionCookie("checkoutversion", "new");