Logging out of ULagos 360° is a deliberate reset operation: it severs the Socket.IO connection, removes all locally stored session and spaces data, and resets every space in the Zustand store back toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Pewiz/ulagos360/llms.txt
Use this file to discover all available pages before exploring further.
disponible. The page then reloads automatically and the identification modal appears so the next tutor can start a fresh session from the server’s current state.
Logout Steps
Click the LogOut icon in the header
Inside the user chip (the rounded badge showing your name), locate the red
LogOut icon on the far right. Click it to begin the logout flow.
Confirm the dialog
A browser confirmation dialog appears:
¿Cerrar sesión? ¿Estás seguro de que quieres limpiar todos los datos? Esto reiniciará la aplicación.Click Aceptar to proceed or Cancelar to abort.
Session teardown executes
After confirmation, The
handleLogout from useRealTimeSpaces.js runs the
following sequence:logout() call resets the Zustand store — it clears persisted keys and
reinitialises every space to disponible:localStorage Keys Cleared on Logout
| Key | Purpose |
|---|---|
ulagos360_current_user | Tutor identity (primary key) |
currentUser | Legacy tutor identity key |
spaces-storage | Zustand persisted spaces state |
sessionId | Socket session identifier |
ulagos360_session_id | Session ID (secondary key) |
lastStateSync | Timestamp of last server sync |
ulagos360_spaces_backup | Primary spaces backup |
ulagos360_emergency_backup | Emergency backup with metadata |
Logout vs. Connection Drop
| Scenario | Socket disconnected | Local data cleared | Store reset |
|---|---|---|---|
| Voluntary logout | ✅ Yes | ✅ Yes | ✅ Yes |
| Network / connection drop | Auto (server-side timeout) | ❌ No | ❌ No |
After logout, the next tutor who opens the app on the same device will start
with a clean local state and immediately receive the server’s authoritative
space states via the
get_all_spaces request that fires on every new
connection.