#2038 Add a SimpleResult#session method.

See #2038