[thelist] Local v Online

Michael Galvin mpgalvin at eircom.net
Sun Jan 21 16:50:31 CST 2001


I have a site which is currently live, and uses lots of asp.  Now, I've set
up MS PWS at home so that I could test the pages before I put them live.
All well, and good, but the client requested a few graphics that are got
from other servers, specifically a counter and a button.

Now, whenever I test at home, IE asks me to connect when it tries to load
these gfx, so I tell it to 'work offline'.  But, then I have to reconnect
when I want to use my 'intranet'.

Is there any environment variable I can use around the showing of the gfx
which would only load it when I'm on their domain,

if environment = local then
    ' do nothing
else
    <img src...>
end if

Anyone?

Michael





More information about the thelist mailing list