Create a Session

The default TTL for a session is 7 days; if you want to change this, you can provide a custom TTL to create Session. The amount of time you supply should be in seconds. If you want a global session that does not expire, you can use the global session.

Method Signature

Creating a Session