Feature #70316

Introduce Session Framework

Added by Andreas Fernandez about 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Category:
Performance
Target version:
Start date:
2015-10-02
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Related issues

Related to TYPO3 Core - Feature #51731: Store sessions outside DB Closed 2013-09-04
Related to TYPO3 Core - Bug #79678: Fix false positive test Closed 2017-02-08
Related to TYPO3 Core - Bug #79717: Cover FrontendUserAuthentication with functional tests New 2017-02-09
Related to TYPO3 Core - Task #79720: Remove ses_name from tables fe_sessions and be_sessions Closed 2017-02-09
Related to TYPO3 Core - Task #79721: Upgrade wizard to merge fe_session_data to fe_sessions Closed 2017-02-10
Related to TYPO3 Core - Bug #79722: Schema analyzer ignores BLOB size changes Closed 2017-02-10
Related to TYPO3 Core - Task #79723: API docs of session framework Closed 2017-02-10
Related to TYPO3 Core - Bug #80154: Unserialized Session Data Variable is changed and protected since #70316 Closed 2017-03-06

Associated revisions

Revision 955f4beb (diff)
Added by Markus Klein almost 3 years ago

[!!!][FEATURE] Introduce Session Framework

A new session framework is introduced.
The goal is to provide interoperability between different
session storages (called "backends"), like database, Redis, etc.

An integrator may enforce a specific session backend by configuring
SYS/session in LocalConfiguration.php. It is also possible to use
custom session backends by implementing
the interface "SessionBackendInterface".

Resolves: #70316
Releases: master
Change-Id: I90a4f84344e75f13b2f46245162e749ed3505ec3
Reviewed-on: https://review.typo3.org/51549
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Reviewed-by: Claus Due <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>

Revision 5365d875 (diff)
Added by Christian Kuhn almost 3 years ago

[BUGFIX] Flaky unit tests FrontendUserAuthentication

Unit testing user authentication is still a mess since the class
does way too much to be well testable.
The patch refactors a number of tests that came in with the session
framework test to not rely on mocked $subject anymore, but it also
marks a couple of tests to be skipped for now - those should be
transferred to functional tests which will probably end up to be
much easier to understand and maintainable.

Change-Id: Ie57245abc75f92a5a1a44ab51079f523974e9818
Resolves: #79678
Related: #70316
Releases: master
Reviewed-on: https://review.typo3.org/51620
Tested-by: TYPO3com <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review about 4 years ago

  • Status changed from New to Under Review

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43483

#2 Updated by Gerrit Code Review about 4 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43483

#3 Updated by Gerrit Code Review about 4 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43483

#4 Updated by Gerrit Code Review about 4 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43483

#5 Updated by Gerrit Code Review about 4 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#6 Updated by Gerrit Code Review about 4 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#7 Updated by Gerrit Code Review about 4 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#8 Updated by Markus Klein about 4 years ago

  • Category set to Performance
  • Target version set to 8 LTS

Actually a duplicate of #51731

#9 Updated by Markus Sommer almost 4 years ago

  • Assignee set to Mathias Schreiber

#10 Updated by Gerrit Code Review almost 4 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#11 Updated by Gerrit Code Review almost 4 years ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#12 Updated by Gerrit Code Review almost 4 years ago

Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#13 Updated by Gerrit Code Review almost 4 years ago

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#14 Updated by Gerrit Code Review almost 4 years ago

Patch set 18 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#15 Updated by Gerrit Code Review almost 4 years ago

Patch set 19 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#16 Updated by Gerrit Code Review almost 4 years ago

Patch set 20 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#17 Updated by Gerrit Code Review over 3 years ago

Patch set 21 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#18 Updated by Gerrit Code Review over 3 years ago

Patch set 22 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#19 Updated by Gerrit Code Review almost 3 years ago

Patch set 23 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#20 Updated by Gerrit Code Review almost 3 years ago

Patch set 24 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#21 Updated by Gerrit Code Review almost 3 years ago

Patch set 25 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#22 Updated by Gerrit Code Review almost 3 years ago

Patch set 26 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#23 Updated by Gerrit Code Review almost 3 years ago

Patch set 27 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#24 Updated by Gerrit Code Review almost 3 years ago

Patch set 28 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#25 Updated by Gerrit Code Review almost 3 years ago

Patch set 29 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#26 Updated by Gerrit Code Review almost 3 years ago

Patch set 30 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#27 Updated by Gerrit Code Review almost 3 years ago

Patch set 31 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#28 Updated by Gerrit Code Review almost 3 years ago

Patch set 32 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#29 Updated by Gerrit Code Review almost 3 years ago

Patch set 33 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#30 Updated by Gerrit Code Review almost 3 years ago

Patch set 34 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#31 Updated by Gerrit Code Review almost 3 years ago

Patch set 35 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#32 Updated by Gerrit Code Review almost 3 years ago

Patch set 36 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#33 Updated by Gerrit Code Review almost 3 years ago

Patch set 37 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#34 Updated by Gerrit Code Review almost 3 years ago

Patch set 38 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#35 Updated by Gerrit Code Review almost 3 years ago

Patch set 39 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#36 Updated by Gerrit Code Review almost 3 years ago

Patch set 40 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#37 Updated by Gerrit Code Review almost 3 years ago

Patch set 41 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#38 Updated by Gerrit Code Review almost 3 years ago

Patch set 42 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#39 Updated by Gerrit Code Review almost 3 years ago

Patch set 43 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#40 Updated by Gerrit Code Review almost 3 years ago

Patch set 44 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#41 Updated by Gerrit Code Review almost 3 years ago

Patch set 45 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#42 Updated by Gerrit Code Review almost 3 years ago

Patch set 46 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#43 Updated by Gerrit Code Review almost 3 years ago

Patch set 47 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#44 Updated by Gerrit Code Review almost 3 years ago

Patch set 48 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#45 Updated by Gerrit Code Review almost 3 years ago

Patch set 49 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#46 Updated by Gerrit Code Review almost 3 years ago

Patch set 50 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#47 Updated by Gerrit Code Review almost 3 years ago

Patch set 51 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#48 Updated by Gerrit Code Review almost 3 years ago

Patch set 52 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#49 Updated by Gerrit Code Review almost 3 years ago

Patch set 53 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#50 Updated by Gerrit Code Review almost 3 years ago

Patch set 54 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#51 Updated by Gerrit Code Review almost 3 years ago

Patch set 55 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#52 Updated by Gerrit Code Review almost 3 years ago

Patch set 56 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#53 Updated by Gerrit Code Review almost 3 years ago

Patch set 57 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#54 Updated by Gerrit Code Review almost 3 years ago

Patch set 58 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#55 Updated by Gerrit Code Review almost 3 years ago

Patch set 59 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#56 Updated by Gerrit Code Review almost 3 years ago

Patch set 60 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#57 Updated by Gerrit Code Review almost 3 years ago

Patch set 61 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#58 Updated by Gerrit Code Review almost 3 years ago

Patch set 62 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#59 Updated by Gerrit Code Review almost 3 years ago

Patch set 63 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#60 Updated by Gerrit Code Review almost 3 years ago

Patch set 64 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#61 Updated by Gerrit Code Review almost 3 years ago

Patch set 65 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#62 Updated by Gerrit Code Review almost 3 years ago

Patch set 66 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#63 Updated by Gerrit Code Review almost 3 years ago

Patch set 67 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#64 Updated by Gerrit Code Review almost 3 years ago

Patch set 68 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#65 Updated by Gerrit Code Review almost 3 years ago

Patch set 69 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#66 Updated by Gerrit Code Review almost 3 years ago

Patch set 70 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#67 Updated by Gerrit Code Review almost 3 years ago

Patch set 71 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#68 Updated by Gerrit Code Review almost 3 years ago

Patch set 72 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#69 Updated by Gerrit Code Review almost 3 years ago

Patch set 73 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#70 Updated by Gerrit Code Review almost 3 years ago

Patch set 74 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#71 Updated by Gerrit Code Review almost 3 years ago

Patch set 75 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#72 Updated by Gerrit Code Review almost 3 years ago

Patch set 76 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#73 Updated by Gerrit Code Review almost 3 years ago

Patch set 77 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#74 Updated by Gerrit Code Review almost 3 years ago

Patch set 78 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#75 Updated by Gerrit Code Review almost 3 years ago

Patch set 79 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#76 Updated by Gerrit Code Review almost 3 years ago

Patch set 80 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#77 Updated by Gerrit Code Review almost 3 years ago

Patch set 81 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#78 Updated by Gerrit Code Review almost 3 years ago

Patch set 82 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#79 Updated by Gerrit Code Review almost 3 years ago

Patch set 83 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#80 Updated by Gerrit Code Review almost 3 years ago

Patch set 84 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#81 Updated by Gerrit Code Review almost 3 years ago

Patch set 85 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#82 Updated by Gerrit Code Review almost 3 years ago

Patch set 86 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#83 Updated by Gerrit Code Review almost 3 years ago

Patch set 87 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#84 Updated by Gerrit Code Review almost 3 years ago

Patch set 88 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#85 Updated by Gerrit Code Review almost 3 years ago

Patch set 89 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#86 Updated by Gerrit Code Review almost 3 years ago

Patch set 90 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#87 Updated by Gerrit Code Review almost 3 years ago

Patch set 91 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#88 Updated by Gerrit Code Review almost 3 years ago

Patch set 93 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#89 Updated by Gerrit Code Review almost 3 years ago

Patch set 94 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#90 Updated by Gerrit Code Review almost 3 years ago

Patch set 96 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#91 Updated by Gerrit Code Review almost 3 years ago

Patch set 97 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43483

#92 Updated by Gerrit Code Review almost 3 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51549

#93 Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51549

#94 Updated by Gerrit Code Review almost 3 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51549

#95 Updated by Gerrit Code Review almost 3 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51549

#96 Updated by Gerrit Code Review almost 3 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51549

#97 Updated by Markus Klein almost 3 years ago

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

#98 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF