Feature #26358

Initialize sessions only when necessary

Added by Robert Lemke over 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:2011-04-27
Priority:Must have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:Session
Target version:TYPO3 Flow Base Distribution - 1.0.0
PHP Version: Complexity:
Has patch:

Description

As soon as a session is initialized, a cookie is sent to the browser and therefore making client- or proxy-side caching impossible / hard. We therefore should only initialize a session when really needed, for example after authentication or when objects in a session scope exist.


Related issues

blocks TYPO3.Neos - Bug #26666: Implement basic Proxy Caching Support Resolved 2011-05-06

Associated revisions

Revision 6d7d3b9a
Added by Robert Lemke almost 4 years ago

[FEATURE] Initialize session and session objects on demand

The default behavior of FLOW3 was that a session was initialized – and
thus a cookie sent – on every request, no matter if the session was
needed or not. This feature delays session initialization until when a
session is really needed. Existing sessions will be resumed
automatically.

A new session is only started if the Session->start() method is called
explicitly, or if a method which was tagged with @session autostart=true
was called.

Resolves: #26358

Change-Id: Id7ca5086353a77cabab27086949e326aa0e3d7a6

History

#1 Updated by Sebastian Kurfuerst almost 5 years ago

  • Target version changed from 1.0 beta 1 to 1.0 beta 2

we won't manage this for beta1 anymore, postproning

#2 Updated by Robert Lemke almost 4 years ago

  • Target version changed from 1.0 beta 2 to 1.0.0

#3 Updated by Karsten Dambekalns almost 4 years ago

  • Assigned To changed from Robert Lemke to Andreas Förthner

#4 Updated by Robert Lemke almost 4 years ago

  • Assigned To changed from Andreas Förthner to Robert Lemke

#5 Updated by Robert Lemke almost 4 years ago

  • Target version changed from 1.0.0 to 1230

#6 Updated by Mr. Hudson almost 4 years ago

  • Status changed from Accepted to Under Review

Patch set 5 of change Id7ca5086353a77cabab27086949e326aa0e3d7a6 has been pushed to the review server.
It is available at http://review.typo3.org/5396

#7 Updated by Mr. Hudson almost 4 years ago

Patch set 6 of change Id7ca5086353a77cabab27086949e326aa0e3d7a6 has been pushed to the review server.
It is available at http://review.typo3.org/5396

#8 Updated by Mr. Hudson almost 4 years ago

Patch set 7 of change Id7ca5086353a77cabab27086949e326aa0e3d7a6 has been pushed to the review server.
It is available at http://review.typo3.org/5396

#9 Updated by Mr. Hudson almost 4 years ago

Patch set 8 of change Id7ca5086353a77cabab27086949e326aa0e3d7a6 has been pushed to the review server.
It is available at http://review.typo3.org/5396

#10 Updated by Mr. Hudson almost 4 years ago

Patch set 9 of change Id7ca5086353a77cabab27086949e326aa0e3d7a6 has been pushed to the review server.
It is available at http://review.typo3.org/5396

#11 Updated by Mr. Hudson almost 4 years ago

Patch set 10 of change Id7ca5086353a77cabab27086949e326aa0e3d7a6 has been pushed to the review server.
It is available at http://review.typo3.org/5396

#12 Updated by Mr. Hudson almost 4 years ago

Patch set 11 of change Id7ca5086353a77cabab27086949e326aa0e3d7a6 has been pushed to the review server.
It is available at http://review.typo3.org/5396

#13 Updated by Mr. Hudson almost 4 years ago

Patch set 12 of change Id7ca5086353a77cabab27086949e326aa0e3d7a6 has been pushed to the review server.
It is available at http://review.typo3.org/5396

#14 Updated by Robert Lemke almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#15 Updated by Karsten Dambekalns almost 4 years ago

  • Target version changed from 1230 to 1.0.0

Also available in: Atom PDF