Chuyển đến nội dung

Chính sách cookie

Trang này hiện chỉ có bằng tiếng Anh.

Last updated: 12 November 2026

A cookie is a small file that a website saves in your browser. Local storage works the same way, but your browser does not send it back to the website with each request. This policy lists the cookies and local storage items that Ministry of Pho ("we", "us") uses. The privacy policy explains how we handle personal data.

Cookies the site needs

The site does not work correctly without these.

  • mop_consent remembers whether you accepted or rejected analytics cookies, so we do not ask again. It lasts 12 months.
  • locale remembers your language. It lasts 1 year.
  • ministryofpho.session_token keeps you signed in. It lasts up to 7 days and renews while you use the site. If you sign in without "remember me", it ends when you close your browser. We set it only after you sign in.
  • ministryofpho.session_data holds a short copy of your session so that pages load faster. It lasts 5 minutes.
  • ministryofpho.dont_remember records that you chose not to stay signed in. It ends when you close your browser.
  • Short-lived sign-in cookies protect sign-in with Google, Apple or GitHub, sign-in with a passkey, and two-step verification. They last only for that step.

Cookies and storage that remember your choices

  • better-auth.last_used_login_method remembers how you last signed in, so the sign-in page can suggest it. It lasts 30 days.
  • sidebar_state remembers whether the account dashboard sidebar is open. It lasts 7 days.
  • theme and theme-config in local storage remember light or night mode and your display settings. They stay until you clear your browser data.

Analytics cookies

These cookies help us learn which pages and features people use, and find errors. We set them only after you accept analytics cookies.

  • ph_<key>_posthog, a cookie and a local storage item, come from PostHog, our analytics service. They link error reports and usage events from the same browser. By default the cookie lasts 1 year. Until you accept, PostHog does nothing and receives nothing from your browser.

The first time you visit, a banner asks you to accept or reject analytics cookies. If you reject, PostHog does nothing. We do not send error reports to PostHog either.

How to control cookies

  • Use the "Cookie settings" link in the footer of any page to change your choice at any time. If you withdraw, we stop sending data to PostHog and delete its cookie and local storage item.
  • Use your browser's settings to see, delete or block cookies and local storage for this site.
  • Use a content blocker that blocks analytics scripts.

If you block the cookies the site needs, you can still browse the directory, but you cannot sign in, and the site does not remember your language between visits.

Changes to this policy

When we add or change a cookie, we update this list and the date at the top of this page.

Contact us

Send questions about cookies to [email protected].