#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 Ron):
Replying to [comment:6 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.
Ok, then maybe we should add a sentence that it works like this for
subdomains?
--
Ticket URL: <https://code.djangoproject.com/ticket/30785#comment:7>
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.41674c74b986e581be38f6fa56949b00%40djangoproject.com.