in reply to Re^8: Broken image link when calling CGI from img tag
in thread Broken image link when calling CGI from img tag
The image IS getting generated just fine
You've said that before, but never mentioned when it is generated just fine. Which is kinda important, when it comes to timing issues.
(Note that a check with -e only checks if the file itself exists, not if it is fully written, a valid image, and readable.)
I am not sure what measures to take to make the image load the first time the page is loaded.
Point is, if the image is generated in time for the page load, there shouldn't be any measures to take. Which means that something's going wrong, and so far there's no conclusive explanation of how and why stuff fails.
And fixing results when you don't know what's wrong is like trying to hunt birds, blind-folded and with only a sling.
I also mentioned the code works on Apache, but not IIS.
You did, but that doesn't necessarily give us a clue about what's wrong, or how to fix it.
One thing you can do is to run the a client request, including image loading, both through Apache and IIS, and record the TCP streams. Then you can compare the two, and learn at which level they differ, and why the browser doesn't display the image.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Broken image link when calling CGI from img tag
by lintunen (Novice) on Aug 09, 2010 at 11:54 UTC | |
by moritz (Cardinal) on Aug 09, 2010 at 12:32 UTC | |
by lintunen (Novice) on Aug 10, 2010 at 08:37 UTC |