couple of questions around session

couple of questions around session management: 1. I found Solara manages session via cookie which is good, could we figure out a standard way to expose session_id to application layer ? for me, my first thing on my web app is to set session id via localstorage and wait for the value before rendering anything, I think the Solara managed session is just perfect for my need to identify a session.
@MaartenBreddels will look into this.
ok, there is no (public) api for this, and it's only available in the feat_reconnect branch (the one that reconnects the websocket) you can call solara.server.app.get_current_context().session_id in a component it's unlikely to break, but it's not a stable api, so we cannot guarantee it but.. exposing this session id is absolutely something we plan to do. this can be useful to store things in databases etc

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
I m not sure what you mean but changingI'm not exactly sure what you mean, but changing the value from the backend would look something likhey solara team looking into statehey solara team looking into state documentation. It seems solara.reactive is session based as in ifhope to know when we will get this fixedhope to know when we will get this fixed. I am developing some demo with Solara and don't want to seThe timer thread is an infinte loop ThatThe timer thread is an infinte loop. That's the only loop I know of. And the timer isn't a problem I m trying to run Solara as Embedding inI'm trying to run Solara as "Embedding in an existing Starlette application" and when I go to `/solaAren't all these the responsibility of the browser to fetch stuff from the CDN?Good afternoon! Can Solara run on a read-only file system? I tried running it on AWS Lambda and it cwhat did you use for thatwhat did you use for that?btw working with Layout and routes was abtw, working with Layout and routes was a pain in my case. One problem was it didn't use the LayoQuestion regarding the `component vue` IQuestion regarding the `component_vue` - I'm trying to create a Box component that will auto scroHi I’ve been trying to add backgroundHi. I’ve been trying to add background image to my page. I created a CSS.py script which contain a tAnother question I m trying to attachAnother question, I'm trying to attach `keydown` listener to TextArea (so that I can submit when "EnI m using IntelliJI'm using IntelliJ