By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,564 Members | 1,081 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,564 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
-----------------------------------
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

"Ken Varn" <nospam> wrote in message
news:OZ****************@TK2MSFTNGP10.phx.gbl...
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
-----------------------------------


Nov 18 '05 #2

P: n/a
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 [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
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

"Ken Varn" <nospam> wrote in message
news:OZ****************@TK2MSFTNGP10.phx.gbl...
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
-----------------------------------

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.