#33760: Allow setting session cookie name dynamically
--------------------------------------------+------------------------
Reporter: Dan Strokirk | Owner: nobody
Type: New feature | Status: new
Component: contrib.sessions | Version: 4.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------------+------------------------
Currently it's only possible to use a single session cookie, but it can be
useful in a multi-tenant application to use multiple session cookies.
Adding a new `get_cookie_name` or `get_cookie_params` method to the
`SessionMiddleware` class might be one way to implement this, which means
that you can then then use your own subclassed middleware to override it.
If this seems like a reasonable feature to add I'd be glad to supply a
patch.
--
Ticket URL: <https://code.djangoproject.com/ticket/33760>
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/0107018120fbb9df-fe1158b5-874f-43d1-965f-140dd973cdf1-000000%40eu-central-1.amazonses.com.