Skip to content

Instantly share code, notes, and snippets.

@tristanbes
Created February 22, 2013 12:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save tristanbes/5013180 to your computer and use it in GitHub Desktop.
Save tristanbes/5013180 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