Creates a new session.
The unique identifier of the session.
The unique identifier of the user associated with the session
Deprecated
The metadata associated with the session.
The added session.
Deprecated
Deprecated
Deprecated
Must be a pointer to allow for null values