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

While the app starts you see an outline of the page with a status line underneath. If it makes no progress for 30 seconds (for example, a poor connection), a Refresh button appears; tap it to reload the app.

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 the session saved in your browser is cleared.
  • Server unreachable (you are offline, or the network dropped) - the app opens using the last session saved on your device, and reconnects on its own once you are back online. Club data such as races and series is not stored on your device, so pages that need it show an error with a retry button until 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 saved session described above. Signing out, or a session expiring, never removes them. They stay queued on your device and upload once you sign back in.