self.state already exists,
built from the field defaults, so this hook can write to it.@session_started
Runs once when a session begins.
Runs once when the session begins, before any client has connected.