에 깜박 거리는 원인ASP.Net의 ReportViewer 다음 코드 줄이 인의 ReportViewer에 의해 생성 된 HTML에서 파이어 폭스
setTimeout("frames['ReportViewer1TouchSession0'].location.replace('/Reserved.ReportViewerWebControl.axd?...&TimerMethod=KeepAliveMethodReportViewer1TouchSession0...", 0);
function KeepAliveMethodReportViewer1TouchSession0() {
setTimeout("frames['ReportViewer1TouchSession0'].location.replace('/Reserved.ReportViewerWebControl.axd?...TimerMethod=KeepAliveMethodReportViewer1TouchSession0....", -1703027296);
}
(I는 불필요한 정보를 제거하여 더 읽기 쉽게 하다며 시도했다)
<html><body><script type="text/javascript">parent.KeepAliveMethodReportViewer1TouchSession0();</script
: Reserved.ReportViewerWebControl.axd는 다음과 같은 HTML을 반환하는 GET 요청을한다라고
실제로 재귀 함수가되고 KeepAliveMethodReportViewer1TouchSession0은 음수 시간 초과 값으로 설정된 시간 초과 값을 호출하기 때문에 Firefox에서는 약 10 초 만에 즉시 호출됩니다. 방화범은 1 분에 150 건의 GET 요청을 로그하며 700 개가 넘는 요청이 기록됩니다. 이로 인해 Firefox의 중지 버튼과 커서가 깜박입니다.
Keepalive 요청에 대한 시간 초과를 조정하는 방법을 아는 분이라면 누구나 제정신 이예요. 당신의 도움에 감사드립니다.