method

new_session

new_session()
public

create a new session. If a block is given, the new session will be yielded to the block before being returned.