This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

"The Connection was reset" in iframe

 
Ranch Hand
Posts: 837
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same server is being used for the main html page (generated by a server-side Perl script) and the content within an iframe (a call to another Perl script on the same server). I have a perl script being called in my iframe. The script works fine, I've tried it on it's own within the browser and it works within the iframe EXCEPT when the script calls a query on a MySQL database that is rather lengthy. In my case I search my records that have IDs containing "11" (returns like 1,000 records) and it works fine. If I search for "1" only it should return like 5,000+ but instead I get a "The Connection was reset" message and that sad face icon. It does not take the error message long to come back, within 2 seconds so I'm left wondering what is causing this to happen and how I can fix the issue? If I redirect the output from the Perl script on the server to a file the content is completely sent there -  ruling out an issue with the script or aborting because of number of records or something.
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic