Browsers will ignore some cookies
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 it looks like, and fixed #
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.
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. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.
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/.
We find the problems, and help you fix them
- Check Run a free tool or the full audit.
- Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
- Re-check Come back, check again, and watch each fix turn green.
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 #
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.
More problems in Privacy, cookies and tracking
- Tracking cookies are set before visitors choose High priority
- A tracking tag is added twice Medium priority
- Old Universal Analytics code is still on the page Low priority