C# Fck编辑器上载图像
我对FCK编辑器中的图像有问题。当我尝试上载图像时,它会给我连接器禁用错误,并且图像不会显示在编辑器页面中。我正在用VisualStudio2008编程。请帮助查看以下代码:C# Fck编辑器上载图像,c#,image,upload,fckeditor,C#,Image,Upload,Fckeditor,我对FCK编辑器中的图像有问题。当我尝试上载图像时,它会给我连接器禁用错误,并且图像不会显示在编辑器页面中。我正在用VisualStudio2008编程。请帮助查看以下代码: private bool CheckAuthentication() { // WARNING : DO NOT simply return "true". By doing so, you are allowing // "anyone" to upload and list th
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.
MembershipUser m = Membership.GetUser();
if (m != null)
{
return true;
} else {
return false;
}
//return false;
}
然后更新应用程序和根文件