summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-09-13 06:32:53 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-09-13 06:32:53 +0000
commite9d1a7e98a9e9cfb3ac67ae614ae3f9a560acfb3 (patch)
treeff2dfa6fa04552e03e3858b6be3049984e037b2c
parentb5ee4ad4ba386f70b4f56f493dbf2acab3fc36a2 (diff)
[1.1.X] Fixed #11073 -- Added documentation for SESSION_COOKIE_PATH. Thanks to liling for the report, and gsong for the patch.
Merge of r11545 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@11567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/topics/http/sessions.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt
index d3956504c7..3b1429b440 100644
--- a/docs/topics/http/sessions.txt
+++ b/docs/topics/http/sessions.txt
@@ -453,6 +453,20 @@ Default: ``'sessionid'``
The name of the cookie to use for sessions. This can be whatever you want.
+SESSION_COOKIE_PATH
+-------------------
+
+.. versionadded:: 1.0
+
+Default: ``'/'``
+
+The path set on the session cookie. This should either match the URL path of
+your Django installation or be parent of that path.
+
+This is useful if you have multiple Django instances running under the same
+hostname. They can use different cookie paths, and each instance will only see
+its own session cookie.
+
SESSION_COOKIE_SECURE
---------------------