Cookies Policy

Last updated: 8 November 2026

1. What are cookies

Cookies are small text files stored on your device when you visit a website. They help the site remember your preferences, keep you signed in, and understand how the Service is used.

2. Cookies we use

CookiePurposeDuration
tg_sessionSigned, httpOnly session cookie that keeps you signed in across page reloads. Contains only a user ID, issue timestamp, and HMAC signature — no password or personal data.30 days
Next.js router cacheInternal cache keys for App Router navigation.Session

We do not use advertising, tracking, or analytics cookies. No data is shared with advertising networks.

3. Session security

  • The session cookie is httpOnly, so JavaScript cannot read it.
  • It is signed with a server secret (`SESSION_SECRET`) so it cannot be forged.
  • The expiry is re-checked on the server on every request.
  • Signing out clears the cookie server-side.

4. Managing cookies

You can block or delete cookies through your browser settings. Note that if you block the `tg_session` cookie, you will not be able to sign in to the dashboard. The public landing page works without cookies.

Browser-specific help:

Questions? Email privacy@tradegridnaija.com.ng.