Skip to content

Sharing Session Data between Mounted Applications #9318

Discussion options

You must be logged in to vote

It's been a long time since I posted this discussion, no one commented and even reacted, it's probably more of a Starlette issue instead of FastAPI. Sorry about that!

I figured it out today. I had to go deep but I did. It was a fun road. Hear me out!

After two months from posting this discussion, I discovered two packages: fastapi-flask-auth and flask-session-decoder from the same author. I opened an issue for a related problem... The developer was very helpfull but it wasn't what I want. I'm thinking now, I don't even remember what I wanted back then...

I toke a look at the source code of SessionMiddleware class. It wasn't complicated at all. I played with it for a while and figure how i…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Cofucan
Comment options

@hasansezertasan
Comment options

@Cofucan
Comment options

@hasansezertasan
Comment options

Answer selected by hasansezertasan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants