IPWorks IoT 2020 Python Edition

Questions / Feedback?

save_session Method

Saves session state data.

Syntax

def save_session() -> str: ...

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 clean_session and restore_session for more information.

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