Kohana Auth 不在 IE 中验证。我已经从 v.2 的讨论中阅读了一些关于从 user_agent 更改为 user_ip 的内容......大概在 AUTH 模块的 ORM 文件中,但这并不能解决我的问题。
v.2 上的另一篇文章建议使用此
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* @package Session
*
* Session driver name.
*/
$config['driver'] = 'native';
/**
* Number of page loads before the session id is regenerated.
* A value of 0 will disable automatic session id regeneration.
*/
$config['regenerate'] = 0;
// KLUDGE: Windows XP SP3 running IE-7 and 8
// http://bit.ly/gPcV67
$config['validate'] = array('ip_address');
然而,他们没有提到在哪里使用它。
我们在测试中发现了这种情况(关于软件工程在学校缺乏重要性的线索在哪里?)并且在这一点上非常锁定使用 AUTH。为此,我已经把头撞在墙上好几个小时了,几乎没有得到任何结果。
请帮忙!谢谢你,-大卫