TP框架重定向次数过多无法访问 使用tp5框架开发,在进行防跳墙控制时,判断sesssion 之后 redirect,浏览器报出了该网站重定向次数过多 原因: 在实现防跳墙时,我采用了继承指定写入防跳墙功能的类,实现对每个控制器的限制,如下 <?php namespace app\base\controller; use think\Controller; use think\Session; class Base