daklib/checks.py: Set "session" variable.