Skip to content

Instantly share code, notes, and snippets.

@aertmann
Last active January 6, 2016 23:32
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save aertmann/18d9c51281402e07338a to your computer and use it in GitHub Desktop.
Save aertmann/18d9c51281402e07338a to your computer and use it in GitHub Desktop.
Prevent session clearing on cache flushing.
# 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