Code

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#236 closed defect (fixed)

Add support for deleting cookies easily

Reported by: maurycy Owned by: adrian
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I'm not sure, but there's no way to delete cookies. Authorization model django.models.auth.Session._module_destroy_all_sessions() doesn't care and django.utils.httpwrappers doesn't have any methods related with.

It should be obviously added.

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by anonymous

  • Component changed from Admin interface to Core framework

comment:2 Changed 9 years ago by adrian

  • Status changed from new to assigned
  • Summary changed from deleting cookies to Add support for deleting cookies easily

It's possible to delete a cookie by setting max_age=0, but that's unintuitive.

comment:3 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [668].

comment:4 Changed 7 years ago by stefan at lanpartei.de

This should be added to the documentation (it took me a while to find there actually is a delete_cookies command).
Right now I only found cookies stuff in the django book, nothing about cookie in the documentation at all.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.