怎么在action使用header方法

浏览:1051 发布日期:2014/05/22 分类:求助交流
public function query()
{
header("Cache-control:no-cache,no-store,must-revalidate");
header("Pragma:no-cache");
header("Expires:0");

直接加在action里不起作用,action里能控制header吗?
最佳答案
评论( 相关
后面还有条评论,点击查看>>