Skip to content

Staying signed in

Sailboat Racing keeps you signed in with a refresh token stored in a secure, browser-managed cookie that lasts 30 days. Every time you use the app the clock resets, so regular users are never asked to sign in again.

If you do not use the app for more than 30 days the token expires and you are signed out. This is normal and nothing is lost: your club's races, results, and settings live on the server, not in your browser. You simply sign in again.

What happens when your session expires

When you open the app, it first asks the server for a fresh session. There are three possible answers, and the app now treats them differently:

  • Session renewed - you go straight into the app.
  • Signed out (the token expired or was revoked) - you are taken to the sign-in page and any data cached in your browser is cleared.
  • Server unreachable (you are offline, or the network dropped) - the app opens using data cached on your device, and reconnects on its own once you are back online.

The middle case used to be mistaken for the last one: an expired session would open the app using cached data, but without permission to talk to the server, so the page could end up blank. It now signs you out cleanly instead.

Queued race timings are never discarded

Timings captured on the water are stored separately from the cached data described above. Signing out, or a session expiring, never removes them. They stay queued on your device and upload once you sign back in.