gergelypolonkai-web-jekyll/_posts/2012-10-13-changing-the-session-cookie-s-name-in-symfony-2.markdown

21 lines
670 B
Markdown
Raw Normal View History

2014-06-26 16:48:13 +00:00
---
layout: post
title: "Changing the session cookies name in Symfony 2"
2016-02-26 15:26:26 +00:00
date: 2012-10-13 12:49:28
2014-06-26 16:48:13 +00:00
tags: [symfony, development]
permalink: /blog/2012/10/13/changing-the-session-cookie-s-name-in-symfony-2
published: true
author:
name: Gergely Polonkai
email: gergely@polonkai.eu
---
I have a development server, on which I have several Symfony 2.x projects under
the same hostname in different directories. Now Im facing a funny problem
which is caused by that the cookies Symfony places for each of my projects have
the same name.
To change this, you will have to modify the `config.yml` file like this:
2017-08-31 09:55:54 +00:00
{% gist c695670ecca2809f7c93 %}