2 401 errors then image loads!

A

Anonymous Poster

We have noticed a weird phenomenon with images rendered on an asp.net page
(in this case from a MS TabStrip control). On each postback (and on the
initial page load) it tries to load the image twice and fails with a 401
error before succeeding (with a 200 or 304 if its cached). Using Fiddler
(http monitor) produces the following output -

session # Result Host Url
5 401 localhost
/SDA/WebApplication1/UserControls/images/tabspc.gif
6 401 localhost
/SDA/WebApplication1/UserControls/images/tabspc.gif
7 200 localhost
/SDA/WebApplication1/UserControls/images/tabspc.gif

It is always 2 failures then success. The 401 page is 4k so its wasting 8k
each time (and thats just for one image!). The entire site is anonymous
access. What is causing this and how can we prevent it happening?

thanks,

Simon
 

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,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top