Ticket #11073: 11073-sessions_doc-r10726.patch

File 11073-sessions_doc-r10726.patch, 765 bytes (added by gsong, 6 years ago)

Added documenation about SESSION_COOKIE_PATH to sessions section.

  • docs/topics/http/sessions.txt

     
    450450
    451451The name of the cookie to use for sessions. This can be whatever you want.
    452452
     453SESSION_COOKIE_PATH
     454-------------------
     455
     456.. versionadded:: 1.0
     457
     458Default: ``'/'``
     459
     460The path set on the session cookie. This should either match the URL path of your
     461Django installation or be parent of that path.
     462
     463This is useful if you have multiple Django instances running under the same
     464hostname. They can use different cookie paths, and each instance will only see
     465its own session cookie.
     466
    453467SESSION_COOKIE_SECURE
    454468---------------------
    455469
Back to Top