Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Infinite loop with response.redirect

Status
Not open for further replies.

denoxis

Programmer
Jul 22, 2002
154
US
Hi,

Since last night, web site stop responding. Hosting told me that because of infinite loop caused by redirections. I have 2 response.redirects in my web site. One is in the global.asa, other is in the index.asp.

That's known that if I redirect a user in Session_OnStart to another page that drops the session again, it will be an infinite loop since it will come back to session_OnStart again. But my redirection was not a session dropper (it was working until last night). So I had to rename global.asa file.

Another one is in the index.asp file. Infinite loop happens here when the page is buffered. Because If I put response.write "A" : response.flush at the top, the page works perfectly. If I don't, it just hangs.

Have you seen something like this? Any suggesttions?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top