-
Notifications
You must be signed in to change notification settings - Fork 624
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
https://docs.flet.dev/cookbook/session-storage/
This page is outdated and contains incorrect information.
Code sample
Code
# strings
page.session.set("key", "value")
# numbers, booleans
page.session.set("number.setting", 12345)
page.session.set("bool_setting", True)
# lists
page.session.set("favorite_colors", ["red", "green", "blue"])Should be replaced with:
# strings
page.session.store.set("key", "value")
# numbers, booleans
page.session.store.set("number.setting", 12345)
page.session.store.set("bool_setting", True)
# lists
page.session.store.set("favorite_colors", ["red", "green", "blue"])And the same applies to the other examples.
To reproduce
...
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
windows
Flet version
0.80.5
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
No response
Logs
Logs
[Paste your logs here]Additional details
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
✅ Done