V
vunet.us
Why ASP's MS XML HTTP request object gets another page's HTML source
without interpreting path differences. For example, if my page is:
www.test.asp/one/two/page1.asp
with XMLHTTP getting source code of page:
www.test.asp/one/page2.asp
and this latter page has a CSS with path ../include/css.css, it won't
be used in page1.asp because path will stay as it is "../include/
css.css", not "../../include/css.css" as needed for page1.asp?
So I only have one workaround to replace instances of ../ with ../../.
Any other suggestions or explanations?
Thank you
without interpreting path differences. For example, if my page is:
www.test.asp/one/two/page1.asp
with XMLHTTP getting source code of page:
www.test.asp/one/page2.asp
and this latter page has a CSS with path ../include/css.css, it won't
be used in page1.asp because path will stay as it is "../include/
css.css", not "../../include/css.css" as needed for page1.asp?
So I only have one workaround to replace instances of ../ with ../../.
Any other suggestions or explanations?
Thank you