Skip to content

Why session doesn't update or change when inside a loop? #1638

Answered by miguelgrinberg
4n1qz5skwv asked this question in Q&A
Discussion options

You must be logged in to vote

There is nothing special about a for loop. The only thing that can prevent the session from being saved is an exception, which would interrupt your handler.

Replies: 1 comment 4 replies

Comment options

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

@miguelgrinberg
Comment options

@4n1qz5skwv
Comment options

@miguelgrinberg
Comment options

Answer selected by 4n1qz5skwv
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