ident
All repositories: gitoria
1.0 KB
// ONE SESSION — a browser's bag on the server. A CLASS, not a hybrid, on purpose:// the language passes an instance by handle (through maps, lists, assignments and// emit payloads; an ordinary call argument copies, hence `&` at the dispatch) and// a face that logs a session in writes the session it was HANDED. On disk it is// the JSON of these members, and a file comes back as `rec > new Session()`.// THE APP'S OWN DATA GOES INTO `data`, a hybrid: `session.data.cart = …` rides along,// and an entry nobody wrote reads null — as a hybrid does. An UNDECLARED member of// an instance is not that: the language lets a write mint it on one instance and// refuses the read on another (measured 2026-09-13: `session.signupEmail` read in an// audience function on a session that never set it was an UndefinedProperty error).String id = nullNumber created = 0 // epoch msNumber seen = 0 // epoch ms of the last request or frame that presented ituser = null // whoever logged this session in, or nulldata = {} // the app's own fields, absent ones read null
Branches
- mainmain branch
Latest commits
- 81b15b7bState of 2026-09-27, before the move to gitoriamre