Skip to main content

Cookies on the NHS website

What are cookies?

Cookies are files saved on your phone, tablet or computer when you visit a website.

They store information about how you use the website, such as the pages you visit.

Cookies are not viruses or computer programs. They are very small so do not take up much space.

How we use cookies

We use cookies to:

  • make our website work, for example by keeping it secure
  • remember which pop-ups you've seen
  • measure how you use our website, such as which links you click on (analytics cookies)
  • help show you relevant health campaigns on social media
List of cookies that make our website work
Cookies needed for the NHS website work
Name Purpose Expires
.AspNetCore.Antiforgery.9TtSrW0hzOs Helps keep the site secure by preventing cross-site request forgery (CSRF) attacks When you close the browser
.ASPXANONYMOUS Remembers your activity across multiple pages to improve your experience 69 days
_smokefree_session Remembers your pages input and states across multiple pages to improve your experience When you close the browser
_tobacco_session Remembers your pages input and states across multiple pages to improve your experience When you close the browser
ASP.NET_SessionId Remembers your pages input and states across multiple pages to improve your experience When you close the browser
CAM Helps stop our site crashing by spreading traffic across web servers When you close the browser
CookieConsent Remembers your cookies settings on our website 1 year
csrftoken Helps keep the site secure by preventing cross-site request forgery (CSRF) attacks 1 year
mobile.display Determines if you should see the mobile version of our site When you close the browser
mobile.nodisplay Determines if you should see the desktop version of our site When you close the browser
nhsuk-cookie-consent Remembers if you used our cookies banner When you close the browser (if you do not use the banner) or 1 year (if you use the banner)
test Used to tell us if you have accepted cookies to help with health campaigns When you close the browser
WFE Keeps you connected to a web server when you use our website When you close the browser

Change your cookie settings

Some cookies, like those used to measure how you use our website, are not needed for our website to work.

These cookies can help us make our website better, but we'll only use them if you say it's OK.

How we use the information we collect

To find out how we collect, store and use information about you or your visit, see the NHS website privacy policy.

Page last reviewed: 1 April 2019
Next review due: 1 April 2022