in your global.asa you can define an application variable
Application("path_images") = "http://www.anotherserver.com/images/"
OR
Application("path_images") = "F:/images/"
depending if the another server is available in internet/intranet or only in
your LAN
then in your asp code you can display the image "im1.jpg"
with this path
img_name = Application("path_images") & "im1.jpg"
HTH
-----Messaggio originale-----
Da: info@e... [mailto:info@e...]
Inviato: giovedì 14 febbraio 2002 7.50
A: ASP Web HowTo
Oggetto: [asp_web_howto] Help with Images on a Remote Server
Hello Everyone,
I need help or advise please. I currently have a e-commerce site hosted on
our our windows servers and it runs asp 3.0 with a back-end SQL Server
2000 database. The problem I am having is that I want all images displayed
to come from another server, instead of the same server that the pages are
on. For instance, if I have a html image code that looks like
this "images/image1.jpg", it currently displays the image that is actually
located in "http://www.1stserver.com/images/image1.jpg". I would like it
to display the image in "http://www.anotherserver.com/images/image1.jpg"
without actually changing the code on each image. Is there a way for me to
specify this in my asp application and for it to do this for all GIF & JPG
images? or perhaps something on the server that I can change? Thanks! I
would appreciate any assistance.
- Elmer M.
$subst('Email.Unsub').