Skip to content

Instantly share code, notes, and snippets.

@stof
Created August 26, 2012 02:06
Show Gist options
  • Save stof/3473118 to your computer and use it in GitHub Desktop.
Save stof/3473118 to your computer and use it in GitHub Desktop.
Storing Symfony 2.1 sessions outside the cache folder to keep them on deploy
framework:
session:
save_path: "%kernel.root_dir%/sessions/%kernel.environment%"
@mamady
Copy link

mamady commented Sep 12, 2012

So simple, and yet saves so much headache when clearing cache.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment