I have never coded asp, and I don't see anything wrong with your code, however the symptoms you describe would have me looking for an infinite loop in my code that kept opening the window until the server timed out. It's only a guess, but that would explain the flickering, the 5 minute time...