Create a new session from this connection.
If key is specified, then the session ID is generated from
this key, and whenever the session is accessed, the key must be
given or the session will be invalidated.
ttl - session time to live, in seconds.
If ttl is 0, the driver default is used (usually 15 minutes).