<p dir="auto">I'm seeing an issue when PdoSessionStorage is enabled where values set on the user's session are not being saved at all.</p>
<p dir="auto">More details at the forum -&gt; <a href="http://forum.symfony-project.org/viewtopic.php?f=23&amp;t=51646" rel="nofollow">http://forum.symfony-project.org/viewtopic.php?f=23&amp;t=51646</a></p>
<p dir="auto">I'm using PHP 5.4.4 and Symfony 2.1.2 (just updated using php composer.phar update).</p>
<p dir="auto">I appreciate any help with this problem.</p>
<p dir="auto">Image a website where content can be created in 80 languages, but the team in charge of translating the UI can only translate it in two languages.</p>
<p dir="auto">The UI locale may be given with an url parameter named <code class="notranslate">_locale</code>, while the content local may be given with an url parameter named <code class="notranslate">content_locale</code>. It would be nice to be able to reuse the <code class="notranslate">LocaleListener</code> to handle both cases, which would mean having a <code class="notranslate">parameter_name</code> string dependency that would be used in the class instead of the hardcoded <code class="notranslate">_locale</code> and would default to it. For the moment, my team has copy / pasted the whole class because private properties make it hard to extend, which, I'm given to understand after reading <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fabpot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fabpot">@fabpot</a> 's <a href="http://fabien.potencier.org/article/47/pragmatism-over-theory-protected-vs-private" rel="nofollow">article</a>, is by design, in order to let feature requests like this one be formulated.</p>