SAE下 session 和 cookie 都失效,求解决。

浏览:2847 发布日期:2013/07/30 分类:求助交流
Public function verify(){
            import('ORG.Util.Image'); 
            Image::buildImageVerify(4,1,'png',90,40);
    }
    public function index()
    {   
        dump($_SESSION);
        $this->display("Index:login"); 
    }
在login模板页中调用了验证码。但就是获取不了SESSION的值。用session('verify')也不行。

还有用cookie('user',$user) 也不能设置COOKIE。 不知道怎么回事,求高手帮忙看看。万分感谢,

在WMAP中测试一切正常,在SEA中不行了。

=============================

后来发现。 在入口文件中。 设置了define('APP_DEBUG', true); session和cookie 全部失效

如果不设置debug 就没问题, 不知道是我弄错了,还是BUG, 求高手解答,在线等
最佳答案
评论( 相关
后面还有条评论,点击查看>>