s/session/sessionId/

What should it do if sessionId is unset?  Do we want a test and code for that case?