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

670 B
Raw Blame History

layout title date tags permalink published author
post Changing the session cookies name in Symfony 2 2012-10-13 12:49:28
symfony
development
/blog/2012/10/13/changing-the-session-cookie-s-name-in-symfony-2 true
name email
Gergely Polonkai 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:

{% gist c695670ecca2809f7c93 %}