当运行一些程序时,在httpd日志中会有如下警告日志:PHP Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timez...
分类:
Web程序 时间:
2014-11-06 19:47:14
阅读次数:
219
IE11下ASP.NET Forms身份认证无法保存Cookie的问题折腾了三四天,今天才找到资料,解决了。以下会转贴,还没来得及深究,先放着,有空再学习下。ASP.NET中使用Forms身份认证常见的做法如下:1. 网站根目录下的Web.config添加authentication节点 2. 在....
分类:
Web程序 时间:
2014-11-06 19:31:29
阅读次数:
200
1:首先找到hibernate-release-4.1.9.Final.zip\hibernate-release-4.1.9.Final\lib\required ,把required里的所有jar包copy到Web-Inf下的lib包里,再把访问数据库的ODBC.jar包也放进lib里。2:添加...
分类:
Web程序 时间:
2014-11-06 19:22:59
阅读次数:
157
File$Oracle_HOME/network/admin/sqlnet.ora这个是涉及oracle是os认证,还是密码文件认证$ORACLE_HOME/network/admin/sqlnet.ora中的AUTHENTICATION_SERVICES参数:1、在windows下,SQLNET.AUTHENTICATION_SERVICES必须设置为NTS才能使用OS认证;不设置或者设置为其他任何值都不..
分类:
其他好文 时间:
2014-11-06 15:04:43
阅读次数:
208
1、在Info.plist中,添加Required background modes键,value为:App plays audio
2、在程序启动方法(- (BOOL)application: didFinishLaunchingWithOptions:)中代码声明
- (BOOL)application:(UIApplication *)application didFinishLaunc...
分类:
其他好文 时间:
2014-11-06 10:57:08
阅读次数:
157
...erase-credentials默认为true,会在public Authentication authenticate(Authentication authentication) throws AuthenticationException返回前调用((CredentialsContai...
分类:
编程语言 时间:
2014-11-05 19:19:17
阅读次数:
193
安装Git客户端后,进行PULL时报如下错误
disconnected no supported authentication methods available(server sent: publickey,keyboard interactive)解决方案
因为TortoiseGit和Git的冲突 我们需要把TortoiseGit设置改正如下。
1.找到Tortois...
分类:
其他好文 时间:
2014-11-05 13:05:35
阅读次数:
217
1 dbschema array ( 'item_id' => array ( 'type' => 'number', 'required' => true, 'extra' => 'auto_increment', 'pkey' => true ...
分类:
其他好文 时间:
2014-11-05 10:30:58
阅读次数:
223
汗,无知真可怕,Servlert规范中已经有自动跳转到保护页面(Http - Https)的方法了:web.xml Test Auth Protected Area /* DELETE GET POST PUT SSL required CONFIDENTIAL Basic 认证 + S...
分类:
Web程序 时间:
2014-11-04 19:10:48
阅读次数:
361
PROPAGATION_REQUIRED--支持当前事务,如果当前没有事务,就新建一个事务。这是最常见的选择。? PROPAGATION_SUPPORTS--支持当前事务,如果当前没有事务,就以非事务方式执行。? PROPAGATION_MANDATORY--支持当...
分类:
编程语言 时间:
2014-11-04 13:19:17
阅读次数:
179