Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

external site in intranet and cloaking

Status
Not open for further replies.

sandeepmur

Programmer
Dec 14, 2003
295
PT
Hello,

I need to place a link to a application hosted in another server in Site A such that when the link is cliked, the app opens as if part of Site A. Is it possible ?

<a name="jogo" id="jogo" href=" target="_blank">

The above link is located in the home page of Site A.But when the link is clicked upon, it launches a new window with the URL provided in href.. I want to do something like, when the link in is cliked, the app opens in
Thanks for any suggestions..
 
Do you want the remote page to appear to be inside yours, for aesthetic reasons, or to be actually served up from your domain for some other reason?

If the former, the easiest way is to use a frameset. The frameset page, whose URL the user sees, has a single frame which contains the actual page. You see this done all over the place to put a paid-for URL on a geocities (or other free) site.

If the latter, I guess you could write a script on your server that would visit the remote site, retrieve the HTML and then echo it itself. The problem you'll have is that you'll have to parse the HTML so that links, images, external CSS & script files, and whatever else are not broken. Maybe someone in the asp could give you a pointer on how to go about it.

-- Chris Hunt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top