User Tools

Site Tools


moss:initial_notes_for_v0.1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
moss:initial_notes_for_v0.1 [2026/06/26 10:19] appledogmoss:initial_notes_for_v0.1 [2026/06/26 10:21] (current) appledog
Line 78: Line 78:
  
 The bridge is a one-time **ticket**: The bridge is a one-time **ticket**:
-# You log in on the web → a normal PHP session marks you as authenticated. +# You log in on the web and the PHP session marks you as authenticated. 
-# When the game page (''index.php'') loads, it checks that session. No session → you are redirected to the sign-in page (**there are no guests**).+# When the game page (''index.php'') loads, it checks that session. No session and you are redirected to the sign-in page (//"there are no guests"//).
 # If you //are// logged in, the page mints a random **ticket**, stores it in a ''tickets'' table (your uid + a timestamp), and embeds it in the page. # If you //are// logged in, the page mints a random **ticket**, stores it in a ''tickets'' table (your uid + a timestamp), and embeds it in the page.
 # The browser opens the WebSocket and **its very first message is** ''auth <ticket>''. # The browser opens the WebSocket and **its very first message is** ''auth <ticket>''.
moss/initial_notes_for_v0.1.txt · Last modified: by appledog

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki