Skip to content

Instantly share code, notes, and snippets.

@bricejulia
Forked from tristanbes/config.yml
Created February 14, 2017 14:34
Show Gist options
  • Save bricejulia/8d00a9dd31412a60de3499289893e4ba to your computer and use it in GitHub Desktop.
Save bricejulia/8d00a9dd31412a60de3499289893e4ba to your computer and use it in GitHub Desktop.
Session cookie name for Symfony2 and subdomains
framework:
esi: { enabled: true }
translator: { fallback: %locale% }
secret: %secret%
router:
resource: "%kernel.root_dir%/config/routing.yml"
strict_requirements: %kernel.debug%
form: ~
csrf_protection: ~
validation: { enable_annotations: true }
templating:
engines: ['twig']
#assets_version: SomeVersionScheme
default_locale: "%locale%"
trusted_proxies: ~
session:
cookie_lifetime: 0
save_path: %kernel.root_dir%/var/sessions
cookie_domain: .my-domain.com
name: SFSESSID
fragments: ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment