Please help! Can't seem to be able to figure out the syntax
I need to include a file that is located on the entirely deferent website.
Here's what I need to do, which, obviously doesn't work:

<!--#include virtual="http://www.another-site.com/xxx.asp"-->

Recommended Answers

All 2 Replies

ASP cannot 'include' page outside its server.

You can use the basic html script like frame or iframe. iframe is better which the page only appear on the location you want it to be, within your defined height and width.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.