diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-10-20 05:13:56 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-10-20 05:13:56 +0000 |
| commit | e172e7be57af5ecdddf7c80361eed27d4658a9cd (patch) | |
| tree | 78c71cbe8de391d3be3eef91c9a91479ad90eb1d /docs | |
| parent | 1a1a39738a532bf1e9ab6c603b4dc2c3ec9fd999 (diff) | |
Fixed #4724 -- Added support for configurable session cookie paths. Helps with
multiple Django installs under the same hostname. Thanks, frej and Graham
Dumpleton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/settings.txt | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/docs/settings.txt b/docs/settings.txt index 275301869e..3d7bd5a318 100644 --- a/docs/settings.txt +++ b/docs/settings.txt @@ -475,7 +475,7 @@ FIXTURE_DIRS Default: ``()`` (Empty tuple) List of locations of the fixture data files, in search order. Note that -these paths should use Unix-style forward slashes, even on Windows. See +these paths should use Unix-style forward slashes, even on Windows. See `Testing Django Applications`_. .. _Testing Django Applications: ../testing/ @@ -731,8 +731,8 @@ SERIALIZATION_MODULES Default: Not defined. -A dictionary of modules containing serializer definitions (provided as -strings), keyed by a string identifier for that serialization type. For +A dictionary of modules containing serializer definitions (provided as +strings), keyed by a string identifier for that serialization type. For example, to define a YAML serializer, use:: SERIALIZATION_MODULES = { 'yaml' : 'path.to.yaml_serializer' } @@ -754,10 +754,10 @@ Default: ``django.contrib.sessions.backends.db`` Controls where Django stores session data. Valid values are: - * ``'django.contrib.sessions.backends.db'`` - * ``'django.contrib.sessions.backends.file'`` + * ``'django.contrib.sessions.backends.db'`` + * ``'django.contrib.sessions.backends.file'`` * ``'django.contrib.sessions.backends.cache'`` - + See the `session docs`_ for more details. SESSION_COOKIE_AGE @@ -784,6 +784,16 @@ Default: ``'sessionid'`` The name of the cookie to use for sessions. This can be whatever you want. See the `session docs`_. +SESSION_COOKIE_PATH +------------------- + +Default: ``'/'`` + +The path set on the session cookie. Should 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 --------------------- |
