#19155: New session backend instance does not respect a session_key parameter.
----------------------------------+--------------------
Reporter: niwi | Owner: nobody
Type: Bug | Status: new
Component: contrib.sessions | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------
When I create an instance of the backend session with a specified key, if
this key does not exist, creates a new key without respecting the one I
specifically forced.
Is appropriate behavior? In my point of view, No.
This complicates a lot to create sessions with specific keys and forces me
to do ugly hacks. That's because I have to access the low level API
specific backend to create them the key. (This generates backend dependent
code)
I hope I have explained well.
Test cases to reproduce the bug:
https://github.com/niwibe/django/compare/bug/session-key
--
Ticket URL: <https://code.djangoproject.com/ticket/19155>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.