当前位置: 移动技术网 > IT编程>开发语言>.net > this connector is disabled错误的解决方法

this connector is disabled错误的解决方法

2018年04月19日  | 移动技术网IT编程  | 我要评论

孔汐文,薛茜妤,女娃带龙凤胎出走

复制代码 代码如下:

private bool checkauthentication()
{
// warning : do not simply return "true". by doing so, you are allowing
// "anyone" to upload and list the files in your server. you must implement
// some kind of session validation here. even something very simple as...
//
// return ( session[ "isauthorized" ] != null && (bool)session[ "isauthorized" ] == true );
//
// ... where session[ "isauthorized" ] is set to "true" as soon as the
// user logs in your system.

return true;
}

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网