のちらつき起こすASP.Netレポートビューアーは、次のコード行があるのReportViewerによって生成されたHTMLでのFirefox
setTimeout("frames['ReportViewer1TouchSession0'].location.replace('/Reserved.ReportViewerWebControl.axd?...&TimerMethod=KeepAliveMethodReportViewer1TouchSession0...", 0);
function KeepAliveMethodReportViewer1TouchSession0() {
setTimeout("frames['ReportViewer1TouchSession0'].location.replace('/Reserved.ReportViewerWebControl.axd?...TimerMethod=KeepAliveMethodReportViewer1TouchSession0....", -1703027296);
}
(私は余計な情報を削除することによって、それが読みやすくotの試してみました)
<html><body><script type="text/javascript">parent.KeepAliveMethodReportViewer1TouchSession0();</script
:Reserved.ReportViewerWebControl.axdは、それが次のHTMLを返すGET要求を行うと呼ばれています
これは再帰関数になり、KeepAliveMethodReportViewer1TouchSession0は負のタイムアウト値でタイムアウト値を設定するため、Firefoxでは直ちに約10秒後に呼び出されます。Firebugは1分で150個のGET要求をログに記録します。これにより、FirefoxのStopボタンとカーソルが狂ったように点滅します。
誰かがキープアライブ要求のタイムアウトを調整する方法を知っていれば、それはまあまあです。私はあなたの助けに感謝します。