0
我有完全相同的问题: On Symfony 2, losing session with iframe on IE在Symfony的2,丢失会话与IE iframe中,一切行动
$response->headers->set('P3P', 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
,但我已经很多动作,我使用自动模板:
/**
* @Route("/", name="_welcome")
* @Template()
*/
public function indexAction()
{
....
return array(...);
}
那么是否有可能在所有的动作定义头...