johnnyg24 0 Posted May 22, 2014 Report Share Posted May 22, 2014 Hello, I have two websites running on my web server. Is there a way to include a file from website A on website B? I've tried: <!-- #include file="http://www.websiteA.com/incTop.asp" --> and <!-- #include virtual="http://www.websiteA.com/incTop.asp" --> and get: The include file 'http://www.websiteA.com/incTop.asp' was not found. Thank you, Quote Link to post Share on other sites
justsomeguy 1,135 Posted May 22, 2014 Report Share Posted May 22, 2014 As far as I can tell ASP doesn't support that. You would need to fetch the contents of the remote page, write it to a local file, include the file, then delete the file (or leave it there, if you want to keep track of local caching). Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.