Opened 9 years ago

Closed 9 years ago

#25757 closed Uncategorized (duplicate)

Don`t create session automatically for anonymouse user

Reported by: Den Owned by: nobody
Component: contrib.sessions Version: 1.8
Severity: Normal Keywords: cooke, session
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If login in site - it`s ok, cookie "sessionid" is created. But if delete this cookie, new isn't created.

Session engine is default

Change History (3)

comment:1 by Tim Graham, 9 years ago

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

comment:2 by Den, 9 years ago

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

  if (modified or settings.SESSION_SAVE_EVERY_REQUEST) and not empty:

temporary solution for me

  if (modified or settings.SESSION_SAVE_EVERY_REQUEST):

comment:3 by Tim Graham, 9 years ago

Resolution: duplicate
Status: newclosed

This behavior is intentional, see #25489 for discussion.

Note: See TracTickets for help on using tickets.
Back to Top