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

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
-----------------------------------
 
K

Ken Cox [Microsoft MVP]

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
 
K

Ken Varn

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top