Results 1 to 2 of 2
  1. #1
    ABW Ambassador kse's Avatar
    Join Date
    November 29th, 2005
    Posts
    2,511
    Question Including page from another site (ASP)
    Question: I want to include a page from another site into several pages on another one of my sites. (I own both sites, but different servers ASP) I am ruinng Text Ad/Links from my main site and what to use them on other sites. Here is what I have done so far:

    <iframe name="I1" src="http://123.com/ads/inc_ad_CIS_Vert.asp" width="170" height="400" marginwidth="1" marginheight="1" scrolling="no" align="middle" border="0" frameborder="0">
    </iframe>

    - The ad open in a new window just great (I what it to open in new window), however my iframe also changes to the linked page as well (Ads are no longer visible)
    - does any one know How to make my iframe to continue showing the ads (or refresh the iframe)
    - or is their another way to include a page from another site using ASP?

    Thank you
    KSE

  2. #2
    ABW Ambassador kse's Avatar
    Join Date
    November 29th, 2005
    Posts
    2,511
    Just incase anyone else was looking for the same solution here is an ASP Solution with out using iframs:

    <%
    set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
    xmlhttp.open "GET", "http://123.com/ads/inc_ad_CIS_Vert.asp", false
    xmlhttp.send ""
    Response.write xmlhttp.responseText
    set xmlhttp = nothing
    %>

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. First ASP.Net Site - Need Help
    By kse in forum Programming / Datafeeds / Tools
    Replies: 11
    Last Post: June 7th, 2010, 10:45 AM
  2. Web Developer ASP / ASP.NET and PHP.
    By Murray Newlands in forum Job Postings
    Replies: 0
    Last Post: July 24th, 2007, 05:23 AM
  3. Can a .asp page use an MS Access DB
    By Doug247 in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: September 12th, 2005, 12:43 PM
  4. Site Builder For PHP and ASP Sites?
    By BurgerBoy in forum Programming / Datafeeds / Tools
    Replies: 18
    Last Post: February 25th, 2005, 04:36 PM
  5. Including Page
    By canfree in forum Programming / Datafeeds / Tools
    Replies: 6
    Last Post: August 28th, 2002, 10:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •