IPWorks IoT 2020 macOS Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 macOS Edition - Version 20.0 [Build 8265]