forked from orbit-oss/flask
document caveats on SESSION_COOKIE_DOMAIN
Changing this value might result in browsers with several competing session cookies. In that situation there is no guarantee of which one will be sent first, and be used as the session cookie.
This commit is contained in:
parent
bea5876e46
commit
4a1766c252
1 changed files with 6 additions and 0 deletions
|
|
@ -142,6 +142,12 @@ The following configuration values are used internally by Flask:
|
|||
|
||||
Default: ``None``
|
||||
|
||||
.. warning::
|
||||
If this is changed after the browser created a cookie is created with
|
||||
one setting, it may result in another being created. Browsers may send
|
||||
send both in an undefined order. In that case, you may want to change
|
||||
:data:`SESSION_COOKIE_NAME` as well or otherwise invalidate old sessions.
|
||||
|
||||
.. versionchanged:: 2.3
|
||||
Not set by default, does not fall back to ``SERVER_NAME``.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue