Skip to content

Instantly share code, notes, and snippets.

@aertmann
Last active January 16, 2017 14:15
Show Gist options
  • Save aertmann/10ebcd45869e868ac9be to your computer and use it in GitHub Desktop.
Save aertmann/10ebcd45869e868ac9be to your computer and use it in GitHub Desktop.
Keep session storage through cache flushing to prevent users being logged out in Neos – Included in https://speakerdeck.com/aertmann/tasty-recipes-for-every-day-neos
# Flow 3.0+
Flow_Session_Storage:
persistent: TRUE
Flow_Session_MetaData:
persistent: TRUE
# Flow 2.0-2.3 (only works with Surf deployment – not flow:cache:flush command)
Flow_Session_Storage:
backendOptions:
cacheDirectory: '%FLOW_PATH_DATA%Session/Flow_Session_Storage'
Flow_Session_MetaData:
backendOptions:
cacheDirectory: '%FLOW_PATH_DATA%Session/Flow_Session_MetaData'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment