
PSA::Session - PSA persistent Session data

my $session = PSA::Session->fetch($storage, $sid);
$session->data->{myStuff} = $stuff;
# when done
$storage->update($session);

PSA::Session is for session-persistent state. Note that the data hash can contain arbitrary references to other Tangram storage objects.

Loads a session from the $storage, or creates one.
$sid is a Session ID to resume, if any
$storage is a Tangram::Storage object that can contain PSA::Session objects
Creates a new session.