Merge pull request #927 from ryanisnan/master
Documentation - Small update to SESSION_COOKIE_DOMAIN documentation
This commit is contained in:
commit
20661d2f0d
|
@ -2287,6 +2287,12 @@ The domain to use for session cookies. Set this to a string such as
|
||||||
``".example.com"`` (note the leading dot!) for cross-domain cookies, or use
|
``".example.com"`` (note the leading dot!) for cross-domain cookies, or use
|
||||||
``None`` for a standard domain cookie.
|
``None`` for a standard domain cookie.
|
||||||
|
|
||||||
|
Be cautious when updating this setting on a production site. If you update
|
||||||
|
this setting to enable cross-domain cookies on a site that previously used
|
||||||
|
standard domain cookies, existing user cookies will be set to the old
|
||||||
|
domain. This may result in them being unable to log in as long as these cookies
|
||||||
|
persist.
|
||||||
|
|
||||||
.. setting:: SESSION_COOKIE_HTTPONLY
|
.. setting:: SESSION_COOKIE_HTTPONLY
|
||||||
|
|
||||||
SESSION_COOKIE_HTTPONLY
|
SESSION_COOKIE_HTTPONLY
|
||||||
|
|
Loading…
Reference in New Issue