#30785: Documentation missing info about subdomain wildcard for
SESSION_COOKIE_DOMAIN.
--------------------------------------+------------------------------------
     Reporter:  Ron                   |                    Owner:  Ron
         Type:  Cleanup/optimization  |                   Status:  closed
    Component:  Documentation         |                  Version:  master
     Severity:  Normal                |               Resolution:  invalid
     Keywords:  documentation         |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by felixxm):

 It works for me e.g. with `SESSION_COOKIE_DOMAIN =
 'djangoproject.localhost'` my session cookie is set with a leading dot:
 {{{
 sessionid:"xxxx"
 CreationTime:"Mon, 23 Sep 2019 12:02:22 GMT"
 Domain:".djangoproject.localhost"
 ...
 }}}
 see also [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-
 Cookie#Directives Mozilla's documentation] and
 [https://tools.ietf.org/html/rfc6265 RFC6265].

 Closing per TicketClosingReasons/UseSupportChannels.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30785#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.4b94c132a82cecce1a85962cbd4dc9c4%40djangoproject.com.

Reply via email to