Need help with displaying dynamic images in browser using ASP.NET.

  • Thread starter Thread starter Ken Varn
  • Start date Start date
K

Ken Varn

I have a control that I developed that uses a custom HTTPModule to
dynamically render images to a web page using ASP.NET. It works most of the
time with one exception. For some reason, Internet Explorer does not always
display the images even though the image has been sent successfully. I
sometimes have to right click on the image and select "Show Image" and then
the image appears. This is totally random. I can refresh the screen and
then a different set of images do not show up. Some display, and some
don't. I checked my httpheaders, and everything seems right, but am not
sure why this is happening. Does anyone have any ideas?



--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------
 
Hi Ken,

My first guess is that there's a proxy server or a bad cached version in the
way somewhere. Is it possible that something is keeping a non-existent
version of the image or page?

Is the browser set to get a new page every time?

Just throwing this out as an idea...

Ken
 
The temporary files setting in the browser is set to reload on every visit
to page. There is a proxy server on our network. If it is the proxy, is
there anyway that I can prevent this problem from happening outside of
changing the proxy settings? Like is there a header tag or something that I
can use to prevent proxy caching?

--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.

EmailID = varnk
Domain = Diebold.com
-----------------------------------
Ken Cox said:
Hi Ken,

My first guess is that there's a proxy server or a bad cached version in the
way somewhere. Is it possible that something is keeping a non-existent
version of the image or page?

Is the browser set to get a new page every time?

Just throwing this out as an idea...

Ken
 
Back
Top