Replies: 1 comment
-
I'm having a similar issue with sessions. When its called inside a function to modify it, works like a charm. But once the request its finished, when calling another endpoint via htmx, the session values are already gone. What is the correct behavior of the sessions ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to create a minimal app that mounts another app. I have created this sample code:
When I access http://127.0.0.1:5001, the cookie is not set, and default value is 0. If I click on "Set" to change its value, and click back to "Get", I get the new value (1). But if click to go to /subapp, the session value is missing. How can I make the session to be shared between the main app and the mounted apps?
Beta Was this translation helpful? Give feedback.
All reactions