var iUrls = root.item(0).getElementsByTagName("apiurl");
for (var i=0; i<iUrls.length; i++){
strTempHTML += iUrls.item(i).text + "?syskey=" + syskey + iName + iPass + savecookie + "|";
}
}
var strTempHTML = strTempHTML.substr(0, strTempHTML.length-1);
var strTempHTML = strTempHTML.split("|");
return strTempHTML;
}
或者在这里下载修改好的文件:点击下载
-------- (此文件适用于SW6.6版本,并向下兼容,动易程序新版本将会修正这个问题)
2、修改动网文件 login.asp
找到下面代码处进行修改 第210-231行
'系统整合
'-----------------------------------------------------------------
If DvApi_Enable Then
Response.Write DvApi_SaveCookie
Response.Flush ------------------------------!!!这是出现错误的地方!!!
End If
'-----------------------------------------------------------------
TempStr = Replace(TempStr,"{$ray_logininfo}","")
TempStr = Replace(TempStr,"{$comeurl}",comeurl)
TempStr = Replace(TempStr,"{$comeurlinfo}",comeurlname)
TempStr = Replace(TempStr,"{$forumname}",Dvbbs.Forum_Info(0))
Session.Contents.Remove("xcount")
If Not ajaxPro And DvApi_Enable Then'非ajax
Response.Write TempStr
ElseIf Not ajaxPro And Not DvApi_Enable Then
Response.Redirect(comeurl)
Else
Response.Cookies("count")=""'o(清空ajax里写入的cookies)
strString(comeurl&"@@@@1")'o
End If
修改后代码(将以上代码替换成以下代码即可):(其实就是将Response.Flush换了个位置而已)
'系统整合
'-----------------------------------------------------------------
If DvApi_Enable Then
Response.Write DvApi_SaveCookie
End If
'-----------------------------------------------------------------
TempStr = Replace(TempStr,"{$ray_logininfo}","")
TempStr = Replace(TempStr,"{$comeurl}",comeurl)
TempStr = Replace(TempStr,"{$comeurlinfo}",comeurlname)
TempStr = Replace(TempStr,"{$forumname}",Dvbbs.Forum_Info(0))
Session.Contents.Remove("xcount")
If Not ajaxPro And DvApi_Enable Then'非ajax
Response.Write TempStr
ElseIf Not ajaxPro And Not DvApi_Enable Then
Response.Redirect(comeurl)
Else
Response.Cookies("count")=""'o(清空ajax里写入的cookies)
strString(comeurl&"@@@@1")'o
End If
Response.Flush
至此,已经完成整合操作