#35806: Allow the user to list and delete their sessions
----------------------------------+--------------------------------------
     Reporter:  Paolo Melchiorre  |                    Owner:  (none)
         Type:  New feature       |                   Status:  new
    Component:  contrib.sessions  |                  Version:  dev
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Comment (by Shuyu Wu):

 Hello!

 I think you need to first clarify what's the meaning of "user" here.

 If you're talking about a **web user who is interacting with the django
 server by sending requests**, then can you clarify what's the meaning of
 "Allow the user to list and delete their sessions"? Because in my
 understanding, a web user can't execute any codes in the Django server.
 Also in a general point of view, Django’s built-in session management is
 intentionally abstracted from the end-user to keep interactions simple and
 intuitive.

 From a server-side point of view, if you want to log out a user (clean
 session), you can just call logout function.


 {{{
 from django.contrib.auth import logout
 from django.shortcuts import redirect

 def logout_view(request):
     logout(request)
     return redirect('home')

 }}}

 So in conclusion, can you make your ticket clearer?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35806#comment:1>
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/01070192465e3f1c-20d923ca-3dcf-4f30-be96-6cd9c7213dbf-000000%40eu-central-1.amazonses.com.

Reply via email to