SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question JavaScript/Ajax/IIS/IE? Who's timing out?

    Hello, all.

    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.

    So what's timing out? Anyone have any idea?

  2. #2
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,649
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I would get my hands on Fiddler and see how the requests are failing.

  3. #3
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •