Feature #42592

FE sessions (cookies) should only be created when needed

Added by Stefan Neufeind almost 3 years ago. Updated 6 months ago.

Status:Resolved Start date:2012-11-01
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Frontend Spent time: -
Target version:7.2 (Frontend)
PHP Version: Sprint Focus:
Complexity:hard

Description

Currently on every request, if not already present, a FE-session-cookie is set for the user. Imho this could/should be avoided until needed - for example until data is written into the session.

(PS: If there are arguments against this as a general solution, maybe it could at least be configurable.)


Related issues

related to Core - Bug #53598: Select/Delete fe_sessions twice per request Resolved 2013-11-13

History

#1 Updated by Stefan Neufeind almost 3 years ago

Steffen Müller agreed but suggested to first write some testcases and refactor the code in question.

#2 Updated by Thorsten Kahler almost 3 years ago

  • Tracker changed from Bug to Feature
  • Category set to Frontend
  • Status changed from New to Accepted
  • Complexity set to hard

There are already some ways to work around it (see EXT:moc_varnish) but there should be a way to configure this in the core.

#3 Updated by Mathias Schreiber 7 months ago

  • Target version set to 7.2 (Frontend)

#4 Updated by Christian Kuhn 6 months ago

  • Status changed from Accepted to Resolved

It is possible since 6.2 (?) to have no FE cookies set.

#5 Updated by Stefan Neufeind 6 months ago

Yes resolved in 6.2 (or so). This issue dates back to stone-age (well, event 4.5) :-) Thanks for finding/closing.

Also available in: Atom PDF