summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDerek Anderson <public@kered.org>2017-04-20 16:59:25 -0500
committerGitHub <noreply@github.com>2017-04-20 16:59:25 -0500
commitdfea7aa94cd936170a8543e8a5176fbb9f09d5e0 (patch)
treed70e3d2bfc9ccd8e69f6815c5b6070053ab90785 /docs
parent41ed6965de9bf7d0060ffd8245bf65ceb616e26b (diff)
downloadbottle-dfea7aa94cd936170a8543e8a5176fbb9f09d5e0.tar.gz
a slightly tweaked version of @defnull's warning suggesting in #961
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/recipes.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/recipes.rst b/docs/recipes.rst
index 168e26d..0e83353 100755
--- a/docs/recipes.rst
+++ b/docs/recipes.rst
@@ -42,6 +42,9 @@ There is no built-in support for sessions because there is no *right* way to do
bottle.run(app=app)
+WARNING: Beaker's SessionMiddleware is not thread safe. If two concurrent requests modify the same session at the same time, one of the updates might get lost. For this reason, sessions should only be populated once and treated as a read-only store after that. If you find yourself updating sessions regularly, and don't want to risk loosing any updates, think about using a real database instead or seek alternative session middleware libraries.
+
+
Debugging with Style: Debugging Middleware
--------------------------------------------------------------------------------