method

session=

session=(p1)
public

Sets the Session to be used when the connection is established.