Feature #42366

Make session handling compatible to any PHP session handler

Added by Martin Brüggemann almost 9 years ago. Updated almost 9 years ago.

Must have
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Has patch:


Today there's no possibility to get Flow working with a custom php session save handler like redis or memcached. You can define one in your php.ini but Flow tries to create the session_save_path as a folder if it doesn't exist. This leads to something like this:

Uncaught Exception              
  Could not create directory "tcp://"!  

Flow, Y U no Redis? ;)

My solution would be to add an option called "TYPO3:Flow:session:PhpSession:saveHandler" in the Settings.yaml and set this to "file" as default. Also there should be a small check, if the save_handler is still "file", before trying to create some sesssion storage folders in TYPO3\Flow\Session\PhpSession (in initializeObject and destroyAll). Then it's easy for Flow users to switch to a redis save handler f.e. and get it up running without an exception.

Related issues

Related to TYPO3.Flow - Feature #42403: Session handler based on HTTP foundation with multi-backend supportResolvedRobert Lemke2012-10-25


Updated by Christian Müller almost 9 years ago

Sounds good, do you provide a change, Martin?


Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

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


Updated by Robert Lemke almost 9 years ago

  • Status changed from Under Review to Rejected

This feature request has been dropped in favor of a more capable FlowSession implementation.

Also available in: Atom PDF