Task #25923

Clean up session files in compile run

Added by Robert Lemke over 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Should have
Category:
Session
Start date:
2011-04-12
Due date:
% Done:

100%

Sprint:
PHP Version:
Has patch:
No
Complexity:

Description

During the compile run, certain / most caches are rebuilt. If an account is currently logged in, it won't be able to access restricted resources after a compile run because the session cookie doesn't have corresponding information in FLOW3 anymore. In this case the user will experience an Access Denied exception (not a nice experience).

If the PHP session data would be trashed during the compile run, the user would get a fresh session cookie on the next hit and instead of the Access Denied would be redirected to an authentication entry point due to a AuthenticationRequiredException.


Related issues

Related to TYPO3.Flow - Bug #25922: Proxy classes have to be regenerated when the Objects.yaml has changed Closed 2011-04-12
Blocked by TYPO3.Flow - Task #34817: Have a way to clear all sessions Resolved 2012-03-14

Associated revisions

Revision dc804a6f (diff)
Added by Christian Müller over 7 years ago

[FEATURE] Destroy all sessions on cache:flush command

When the typo3.flow3:cache:flush command is called all session data
for the currently configured session implementation will be
destroyed too.

Change-Id: I571c40b1ff744860f8028a7de8917df9607378cf
Resolves: #25923
Releases: 1.1

History

#1 Updated by Robert Lemke over 8 years ago

  • Category changed from Security to Session

#2 Updated by Sebastian Kurfuerst about 8 years ago

would be nice to be fixed, though no blocker.

#3 Updated by Robert Lemke about 8 years ago

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

#4 Updated by Robert Lemke about 8 years ago

  • Target version changed from 1.0 beta 2 to 1.0.0

#5 Updated by Karsten Dambekalns almost 8 years ago

  • Target version deleted (1.0.0)

#6 Updated by Robert Lemke almost 8 years ago

  • Target version set to 1.0.1
  • Has patch set to No

#7 Updated by Karsten Dambekalns almost 8 years ago

  • Target version changed from 1.0.1 to 1.0.2

#8 Updated by Karsten Dambekalns over 7 years ago

  • Target version changed from 1.0.2 to 1.0.3

#9 Updated by Karsten Dambekalns over 7 years ago

  • Target version changed from 1.0.3 to 1.0.4

#10 Updated by Christian Müller over 7 years ago

  • Status changed from New to Accepted
  • Assignee set to Christian Müller

See also #34817

#11 Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9633

#12 Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9633

#13 Updated by Gerrit Code Review over 7 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9633

#14 Updated by Karsten Dambekalns over 7 years ago

  • Target version changed from 1.0.4 to 1.1

#15 Updated by Gerrit Code Review over 7 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9633

#16 Updated by Christian Müller over 7 years ago

  • Target version changed from 1.1 to 1.1 beta 1

#17 Updated by Gerrit Code Review over 7 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9633

#18 Updated by Gerrit Code Review over 7 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9633

#19 Updated by Gerrit Code Review over 7 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9633

#20 Updated by Gerrit Code Review over 7 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9633

#21 Updated by Christian Müller over 7 years ago

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

Also available in: Atom PDF