johnnyg24 Posted May 22, 2014 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, Link to comment Share on other sites More sharing options...
justsomeguy Posted May 22, 2014 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). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now