I created a function whereby my users can import records in a SQL Server database from a .txt or .csv file on their machine. I use ActiveXObject("Scripting.FileSystemObject") to open and loop through the file (using ReadLine()), then, using Ajax, I send each line to a PHP script that parses it and adds it to a database table.
Works, great. Except that after exactly five minutes, it stops. Apparently, something is set to timeout at five minutes, but I can't figure out what. IIS is set to timeout at 20 minutes, and PHP timesout in 60 minutes. IE and JavaScript AFAIK have no timeouts.
I'll check out Fiddler, as you suggest, but I don't think any requests are failing. Something is timing out after five minutes, and I don't what it is.
For instance, if I import a file that has, say, 2000 records in it, it gets to about the 800th record, or so, and stops. This occurs after, according to numerous benchmark tests, exactly five minutes.
Bookmarks