SaveSession Method
Saves session state data.
Syntax
public func saveSession() throws -> String
Remarks
This method saves session state data currently held by the class, returning it as a string that can later be used to restore it. If the SessionStateFile configuration setting is set, the class will also write the session state data to that file (creating and/or overwriting it, as necessary).
Refer to CleanSession and RestoreSession for more information.