You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented my on session database and I want to use the client ip as id for client specific data, but the page.client_ip is always empty. And client storage is also not working (timeout problem) and session storage is temporary only.
I use the following command to start flet in web mode:
flet run --web --port 8000 --name poc main.py
Is there another way to get a browser/client specific id I can use for my session db?
flet run --web --port 8000 --name poc main.py
http://127.0.0.1:8000/poc
/home/poc/code/poc/.venv/lib/python3.12/site-packages/websockets/legacy/server.py:1185: DeprecationWarning: remove second argument of ws_handler
warnings.warn("remove second argument of ws_handler", DeprecationWarning)
MESA-INTEL: warning: Haswell Vulkan support is incomplete
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Question
I implemented my on session database and I want to use the client ip as id for client specific data, but the page.client_ip is always empty. And client storage is also not working (timeout problem) and session storage is temporary only.
I use the following command to start flet in web mode:
flet run --web --port 8000 --name poc main.py
Is there another way to get a browser/client specific id I can use for my session db?
Code sample
Error message
flet run --web --port 8000 --name poc main.py http://127.0.0.1:8000/poc /home/poc/code/poc/.venv/lib/python3.12/site-packages/websockets/legacy/server.py:1185: DeprecationWarning: remove second argument of ws_handler warnings.warn("remove second argument of ws_handler", DeprecationWarning) MESA-INTEL: warning: Haswell Vulkan support is incomplete libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions