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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why are parts of my webpages missing? 1

Status
Not open for further replies.

misho88

Technical User
Feb 26, 2006
2
CA
I only started working with perl 2 days ago, so there's a chance I'm doing something wrong with my code, but it doesn't look that way.

I have a script that generates a relatively complex page with a couple of pictures and a lot of text. Occasionally the text doesn't load, and almost always, most of the pictures don't. Looking at the generated HTML, I can see that the code is there, the browser just isn't loading it. This occurs with Firefox, Mozilla Suite, Internet Explorer, links2 (graphical).

So, why is it happening? Why is the amount of code that's processed different at different times? And (this might be a stretch) how can I make it work?
 
check your headers ...

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Also, check the paths to the files. If the browser is unable to get to them, they won't display.

- George
 
It might be a problem with the web server too. I've run into some random occurrences where images or parts of my CGI pages wouldn't load, but refreshing the page two or three times would finally get it to behave correctly.

My guess is that the web browser is giving up on a (slow?) server connection. Maybe the CGI process took a couple nanoseconds longer than the browser wants to wait for so it gives up trying and doesn't download the images or even the rest of the webpage in some cases.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top