Symfony 1.4 会话不持久


Symfony 1.4 session not persistent

我不知道发生了什么,它曾经有效。在我的行动中:

$this->getUser()->setAttribute ('sname', 'Valueeee');
$this->redirect ('homepage');

在我的组件中:

$this->getUser()->getAttribute('sname');

它的空!我知道它不是太多,但我能做什么?

如果你们都想同时哭笑:我覆盖了"myUser::shutdown()"方法,没有人告诉它打电话给它的父级......