session: for object-oriented sessions