[Django] #25757: Don`t create session automatically for anonymouse user

12 views
Skip to first unread message

Django

unread,
Nov 15, 2015, 6:04:24 PM11/15/15
to django-...@googlegroups.com
#25757: Don`t create session automatically for anonymouse user
----------------------------------+----------------------------
Reporter: hale01 | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.sessions | Version: 1.8
Severity: Normal | Keywords: cooke, session
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+----------------------------
If login in site - it`s ok, cookie "sessionid" is created. But if delete
this cookie, new isn't created.

Session engine is default

--
Ticket URL: <https://code.djangoproject.com/ticket/25757>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 15, 2015, 6:27:28 PM11/15/15
to django-...@googlegroups.com
#25757: Don`t create session automatically for anonymouse user
----------------------------------+--------------------------------------

Reporter: hale01 | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.sessions | Version: 1.8
Severity: Normal | Resolution:

Keywords: cooke, session | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by timgraham):

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

Hi, I'm having trouble understanding your report. Please provide the exact
steps to reproduce the issue.

--
Ticket URL: <https://code.djangoproject.com/ticket/25757#comment:1>

Django

unread,
Nov 15, 2015, 7:13:40 PM11/15/15
to django-...@googlegroups.com
#25757: Don`t create session automatically for anonymouse user
----------------------------------+--------------------------------------

Reporter: hale01 | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.sessions | Version: 1.8
Severity: Normal | Resolution:

Keywords: cooke, session | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------

Comment (by hale01):

Sorry, i badly speak English

For anonymouse user don`t create sessionid

I think a problem somewhere here
https://github.com/django/django/commit/8cc41ce7a7a8f6bebfdd89d5ab276cd0109f4fc5

{{{#!python
if (modified or settings.SESSION_SAVE_EVERY_REQUEST) and not empty:
}}}

temporary solution for me
{{{#!python
if (modified or settings.SESSION_SAVE_EVERY_REQUEST):
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25757#comment:2>

Django

unread,
Nov 15, 2015, 8:49:02 PM11/15/15
to django-...@googlegroups.com
#25757: Don`t create session automatically for anonymouse user
----------------------------------+--------------------------------------
Reporter: hale01 | Owner: nobody
Type: Uncategorized | Status: closed
Component: contrib.sessions | Version: 1.8
Severity: Normal | Resolution: duplicate

Keywords: cooke, session | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by timgraham):

* status: new => closed
* resolution: => duplicate


Comment:

This behavior is intentional, see #25489 for discussion.

--
Ticket URL: <https://code.djangoproject.com/ticket/25757#comment:3>

Reply all
Reply to author
Forward
0 new messages