Symfony session variable clear
June 9th, 2009 by HollyWe’re starting a new Symfony project soon at work (new job since my last post, oh so long ago). Anyway, I’m pretty excited to start using the framework.
And, as a random little sidenote, here’s a link to a blog post I stumbled upon about clearing session variables in Symfony:
$this->getUser()->getParameterHolder()->clear();
$this->getUser()->getAttributeHolder()->clear();
http://eatmymonkeydust.com/2008/08/symfony-security-sessions-not-cleared-when-logging-out/


