summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-10-02 17:23:11 -0400
committerChris McDonough <chrism@plope.com>2013-10-02 17:23:11 -0400
commitb75b31b72b4e297c1b82b3b999a1309f95bf92d9 (patch)
treee0cde5a83cb9c9e392b9375ca79f7c8a321b03fd /docs
parentec1a74ba26d5fc8f7cc4ca4034780a558fd6e8c3 (diff)
parentc57e57b7ef61ab6f191faf10fa456d06a2207ba6 (diff)
downloadpyramid-b75b31b72b4e297c1b82b3b999a1309f95bf92d9.tar.gz
pyramid-b75b31b72b4e297c1b82b3b999a1309f95bf92d9.tar.bz2
pyramid-b75b31b72b4e297c1b82b3b999a1309f95bf92d9.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/sessions.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/narr/sessions.rst b/docs/narr/sessions.rst
index f8279b0a5..f4da5d82a 100644
--- a/docs/narr/sessions.rst
+++ b/docs/narr/sessions.rst
@@ -99,6 +99,11 @@ example:
else:
return Response('Fred was not in the session')
+The first time this view is invoked produces ``Fred was not in the
+session``. Subsequent invocations produce ``Fred was in the
+session``, assuming of course that the client side maintains the
+session's identity across multiple requests.
+
You can use a session much like a Python dictionary. It supports all
dictionary methods, along with some extra attributes, and methods.