this connector is disabled错误的解决方法
摘要:复制代码代码如下:privateboolCheckAuthentication(){//WARNING:DONOTsimplyreturn"...
复制代码 代码如下:
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;
}
【this connector is disabled错误的解决方法】相关文章:
★ Ajax Throws Sys.WebForms.PageRequestManagerErrorException with Response.Redirect的解决方法
★ Linq to SQL Delete时遇到问题的解决方法