Skip to content
Discussion options

You must be logged in to vote

You are asking about the request context, but in the code you are modifying the request object and expecting it to be preserved. That's not how it works, the request object is not preserved, each event handler gets its own request object. If you want to store some data for a client you should write it to the user session.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by theahura
Comment options

You must be logged in to vote
3 replies
@miguelgrinberg
Comment options

@theahura
Comment options

@miguelgrinberg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants