Session ID is stored in localStorage keyed to user+persona. On page load it's silently restored if within 30 min of last activity. Timestamp updates on every sent message. New session / delete session clears the stored ID so the TTL logic stays consistent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>