【发布时间】:2011-08-03 03:33:37
【问题描述】:
Kohana 身份验证未在 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。为此,我已经把头撞在墙上好几个小时了,但几乎没有任何进展。
请帮忙! 谢谢, -大卫
【问题讨论】:
标签: internet-explorer kohana kohana-3 kohana-auth