ShopwareAG/shopware-4 — pull request #144 by matthisstuff (2014-02-27 12:17:52+00:00)
Title: Fix set-cookie sent multiple times when regenerating session

![bildschirmfoto 2014-02-27 um 13 17 22](https://f.cloud.github.com/assets/6330639/2282138/27fee1d8-9fa9-11e3-8903-9d62d1c19ee5.png)
When logging in (account/login), Shopware somtimes will return a Set-Cokie header for the same cookie name three times (old sessionID, new sessionID, new sessionID). This might lead to unexpected behavior, as it is not clear what happens in the browser when setting the same cookie multiple times.

This is not the fix for the root problem of, but mentioned in a sidenote here: http://jira.shopware.de/?ticket=SW-7684