临时session获取,可用于表单验证等场景
$this->getRequest()->getSession()->getFlashBag()->add(
'notice','you have something wrong'
)
注意dev和prod环境的session的文件夹权限问题