Session deletion in Symfony 1.4
How do I delete all session variables at once if they are not in Array? PS I set them this way: $this->getUser()->setAttribute('PayPalTransaction.hash', $request->getParameter('hash')); Regards, Roman The sfUser class (which you get with $this->getUser() ), keeps all it's attributes in a sfNamespacedParameterHolder . So the setAttribute() function on sfUser if merely a proxy to the sfNamespacedParameterHolder::setAttribute() . You can get the reference to this holder with sfUser::getAttributeHolder() . The sfNamespacedParameterHolder also has a function clear() , which clears all attributes.