sessionStorage
Similar to localStorage but gets cleared entrytime the program starts. Sub-class of Storage. Saves the file in .session/UUID.yaml
in the user folder.
Example
py
user = User('com.author.example_name')
session = sessionStorage(user)
session.setItem('version', '1.0.0')
version = session.getItem('version')
print(version)
Parameters
Name | Description |
---|---|
user | The User class for the session storage |