summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-11-20 17:18:25 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-11-20 17:18:25 +0000
commit16493e135c21bd45e0f5961d687421176cd4c4cc (patch)
tree6a2ed790360720c168ddae8d4a4073d72ada59c6 /docs
parent3895a825a9696b58db1a0a2f6f30b1b023d58050 (diff)
Added note to docs/sessions.txt about only being available in development version
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/sessions.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/sessions.txt b/docs/sessions.txt
index c4058c0163..c7d3cd9bfc 100644
--- a/docs/sessions.txt
+++ b/docs/sessions.txt
@@ -179,9 +179,10 @@ deleted::
# request.session['foo'] instead of request.session.
request.session['foo']['bar'] = 'baz'
-To change this default behavior, set the ``SESSION_SAVE_EVERY_REQUEST`` setting
-to ``True``. If ``SESSION_SAVE_EVERY_REQUEST`` is ``True``, Django will save
-the session to the database on every single request.
+**Only available in Django development version.** To change this default
+behavior, set the ``SESSION_SAVE_EVERY_REQUEST`` setting to ``True``. If
+``SESSION_SAVE_EVERY_REQUEST`` is ``True``, Django will save the session to the
+database on every single request.
Note that the session cookie is only sent when a session has been created or
modified. If ``SESSION_SAVE_EVERY_REQUEST`` is ``True``, the session cookie
@@ -226,6 +227,8 @@ SESSION_SAVE_EVERY_REQUEST
Default: ``False``
+**Only available in Django development version.**
+
Whether to save the session data on every request. If this is ``False``
(default), then the session data will only be saved if it has been modified --
that is, if any of its dictionary values have been assigned or deleted.