{
    "title": "Browsers will ignore some cookies",
    "description": "Some cookies break the rules browsers follow, so they are dropped and whatever they do, such as a basket or sign-in, fails.",
    "url": "https://ursy.com/issues/cookies-rejected/",
    "canonical": "https://ursy.com/issues/cookies-rejected/",
    "markdown": "https://ursy.com/issues/cookies-rejected/index.md",
    "json": "https://ursy.com/issues/cookies-rejected/index.json",
    "published": "2026-11-29T21:57:25+00:00",
    "updated": "2026-11-30T12:53:05+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY.com",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY.com and link https://ursy.com/issues/cookies-rejected/",
    "start_here": {
        "page": "https://ursy.com/issues/cookies-rejected/",
        "markdown": "https://ursy.com/issues/cookies-rejected/index.md",
        "json": "https://ursy.com/issues/cookies-rejected/index.json",
        "cite": "Name URSY.com and link the page you used.",
        "doors": {
            "llms_txt": "https://ursy.com/llms.txt",
            "facts": "https://ursy.com/facts.json",
            "mcp": "https://ursy.com/mcp/",
            "openapi": "https://ursy.com/.well-known/openapi.json"
        }
    },
    "issue": {
        "slug": "cookies-rejected",
        "problem": "Browsers will ignore some cookies",
        "summary": "Some cookies break the rules browsers follow, so they are dropped and whatever they do, such as a basket or sign-in, fails.",
        "status": "Live",
        "priority": "medium",
        "category": "privacy-tracking",
        "category_title": "Privacy, cookies and tracking",
        "why_it_matters": [
            "Browsers follow the cookie standard and newer rules. For example, a cookie marked SameSite=None must also be Secure, cookies whose names start with __Secure- or __Host- have extra rules, and a site cannot set a cookie for another domain. A cookie that breaks these rules is simply dropped.",
            "Nothing warns the visitor. The basket empties, the sign-in fails or a consent choice is forgotten, and it can be hard to see why."
        ],
        "how_to_fix": [
            "Read the reason the Cookie Checker gives for each cookie, and fix it where the cookie is set: the server, a plugin or a script. Usual fixes are adding Secure, removing a wrong Domain value or using a valid SameSite value.",
            "Test the feature again in a private window after the change."
        ],
        "steps": [],
        "check_it_is_fixed": "Run the Cookie Checker again: it should list no cookies browsers will ignore. Test the basket, sign-in and consent banner in a private window.",
        "found_by": [
            {
                "tool": "cookie-checker",
                "name": "Cookie Checker",
                "status": "Live",
                "page": "https://ursy.com/cookie-checker/",
                "card": "https://ursy.com/cookie-checker.json"
            }
        ],
        "full_record": "https://ursy.com/wp-json/ursy/v1/issues/cookies-rejected",
        "source": {
            "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie",
            "title": "MDN: Set-Cookie"
        },
        "cite": "Browsers will ignore some cookies. URSY.com. https://ursy.com/issues/cookies-rejected/"
    },
    "headings": [
        {
            "level": 2,
            "text": "Why it matters",
            "id": "why-it-matters",
            "url": "https://ursy.com/issues/cookies-rejected/#why-it-matters"
        },
        {
            "level": 2,
            "text": "How to fix it",
            "id": "how-to-fix-it",
            "url": "https://ursy.com/issues/cookies-rejected/#how-to-fix-it"
        },
        {
            "level": 3,
            "text": "What the problem looks like",
            "id": "what-the-problem-looks-like",
            "url": "https://ursy.com/issues/cookies-rejected/#what-the-problem-looks-like"
        },
        {
            "level": 3,
            "text": "What it looks like fixed",
            "id": "what-it-looks-like-fixed",
            "url": "https://ursy.com/issues/cookies-rejected/#what-it-looks-like-fixed"
        },
        {
            "level": 2,
            "text": "Fix it with your AI assistant",
            "id": "fix-it-with-your-ai-assistant",
            "url": "https://ursy.com/issues/cookies-rejected/#fix-it-with-your-ai-assistant"
        },
        {
            "level": 2,
            "text": "Fix it on your platform",
            "id": "fix-it-on-your-platform",
            "url": "https://ursy.com/issues/cookies-rejected/#fix-it-on-your-platform"
        },
        {
            "level": 3,
            "text": "WordPress",
            "id": "wordpress",
            "url": "https://ursy.com/issues/cookies-rejected/#wordpress"
        },
        {
            "level": 3,
            "text": "Your server or hosting",
            "id": "your-server-or-hosting",
            "url": "https://ursy.com/issues/cookies-rejected/#your-server-or-hosting"
        },
        {
            "level": 2,
            "text": "Check it is fixed",
            "id": "check-it-is-fixed",
            "url": "https://ursy.com/issues/cookies-rejected/#check-it-is-fixed"
        },
        {
            "level": 2,
            "text": "Official source",
            "id": "official-source",
            "url": "https://ursy.com/issues/cookies-rejected/#official-source"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/issues/cookies-rejected/#questions"
        },
        {
            "level": 3,
            "text": "Why is there no error message?",
            "id": "why-is-there-no-error-message",
            "url": "https://ursy.com/issues/cookies-rejected/#why-is-there-no-error-message"
        },
        {
            "level": 3,
            "text": "Why does the basket work for me but not for customers?",
            "id": "why-does-the-basket-work-for-me-but-not-for-customers",
            "url": "https://ursy.com/issues/cookies-rejected/#why-does-the-basket-work-for-me-but-not-for-customers"
        }
    ],
    "links": [
        {
            "text": "cookies",
            "url": "https://ursy.com/wiki/cookie/",
            "internal": true
        },
        {
            "text": "ChatGPT",
            "url": "https://ursy.com/wiki/chatgpt/",
            "internal": true
        },
        {
            "text": "MDN: Set-Cookie",
            "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie",
            "internal": false
        }
    ],
    "words": 583,
    "text": "Some cookies break the rules browsers follow, so they are dropped and whatever they do, such as a basket or sign-in, fails. Why it matters Browsers follow the cookie standard and newer rules. For example, a cookie marked SameSite=None must also be Secure, cookies whose names start with __Secure- or __Host- have extra rules, and a site cannot set a cookie for another domain. A cookie that breaks these rules is simply dropped. Nothing warns the visitor. The basket empties, the sign-in fails or a consent choice is forgotten, and it can be hard to see why. How to fix it Read the reason the Cookie Checker gives for each cookie, and fix it where the cookie is set: the server, a plugin or a script. Usual fixes are adding Secure, removing a wrong Domain value or using a valid SameSite value. Test the feature again in a private window after the change. What the problem looks like Set-Cookie: consent=yes; Path=/; SameSite=None Set-Cookie: __Host-session=abc123; Path=/; Domain=example.com; Secure SameSite=None without Secure, and a __Host- cookie with a Domain: browsers drop both. What it looks like fixed Set-Cookie: consent=yes; Path=/; Secure; SameSite=Lax Set-Cookie: __Host-session=abc123; Path=/; Secure; HttpOnly; SameSite=Lax Secure added, and the __Host- cookie has Secure, Path=/ and no Domain, as its rules require. Fix it with your AI assistant Paste this into ChatGPT, Claude, Gemini or your coding agent, and fill in the words in square brackets: Help me fix cookies that browsers drop on [your website address], built with [your platform, e.g. WordPress with WooCommerce]. A checker says some cookies break the rules browsers follow, so what they do, such as a basket or sign-in, silently fails. First, ask me for the checker's reasons, and read the Set-Cookie headers with \"curl -sI [the page address]\" (or ask me to paste them). For each dropped cookie, explain in plain words which rule it breaks: SameSite=None without Secure, a Secure cookie sent over http, a Domain that does not cover the site, a __Secure- or __Host- name without its required flags, or a size over 4096 bytes. Tell me what most likely sets each one. Then give the exact fix at each source. Rules: keep cookie names unless renaming is the only fix, keep cookies the site needs, and back up first. Remind me to test in a private window. Finally, tell me to re-check with the URSY.com Cookie Checker at ursy.com/cookie-checker/. Fix it on your platform WordPress Check the COOKIE_DOMAIN line in wp-config.php, if there is one: a value that does not cover your site address makes browsers drop the cookies. Other cookies come from plugins, so check their settings. Your server or hosting In PHP, set session.cookie_secure and session.cookie_samesite in php.ini, or pass secure, samesite and domain options to setcookie(). Check any cookie rules in the server or proxy configuration. Check it is fixed Run the Cookie Checker again: it should list no cookies browsers will ignore. Test the basket, sign-in and consent banner in a private window. Official source MDN: Set-Cookie Questions Why is there no error message? Browsers drop a rule-breaking cookie quietly. The browser's developer tools can show a warning, but visitors see nothing. Why does the basket work for me but not for customers? Browsers differ, and you may be using an older cookie that still works. Test in a private window in more than one browser.",
    "source": "https://ursy.com/issues/cookies-rejected/"
}