Results 1 to 3 of 3
  1. #1
    Join Date
    June 27th, 2007
    Goldencan GETDATA asp
    Does anyone know how to add the getdata asp code to an an HTML webpage


  2. #2
    Join Date
    June 27th, 2007
    I want to make my problem a bit clearer .
    I am using a 1and1 home package that does not support .php pages ,so copying the php code wont work for me , the package supports asp I will try to add the asp GETDATA information to my site.
    I have an .html page now I want to add the following asp data from Goldencan to it:
    Dim SID, URL, PageURL, objXMLHttp, IPAddress, UserAgent
    SID = "1C0E40FA-CC5B-4592-B8E7-BA9EB128F8FF"
    IPAddress = Request.ServerVariables("REMOTE_HOST")
    UserAgent = Request.ServerVariables("HTTP_USER_AGENT")
    PageURL = Request.ServerVariables("URL")
    PageURL = PageURL & "?" & Request.ServerVariables("QUERY_STRING")
    PageURL = Server.UrlEncode(PageURL)

    URL = "" & SID & "&PageURL=" & PageURL
    URL = URL & "&IPAddress=" & Server.UrlEncode(IPAddress)
    URL = URL & "&UserAgent=" & Server.UrlEncode(UserAgent)
    SET objXMLHttp = Server.CreateObject("Microsoft.XMLHTTP")
    objXMLHttp.Open "GET", URL, False

    now I have tried copying the data to my page but nothing is working ,Im obviously missing something simple that will activate it(so to speak)
    Has anyone had any experience with asp and this type of situation.

  3. #3
    Join Date
    July 1st, 2006
    Try renaming your goldencan.html page to goldencan.asp then copy and paste the goldencan code. The server will not run the code if it is in a html file. Hope this helps.

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. GoldenCAN XML, RSS and GetData New Features
    By GoldenCAN in forum GoldenCAN
    Replies: 29
    Last Post: November 4th, 2009, 09:24 AM
  2. Web Developer ASP / ASP.NET and PHP.
    By Murray Newlands in forum Job Postings
    Replies: 0
    Last Post: July 24th, 2007, 04:23 AM
  3. GoldenCAN GetData, GetRSS and GetXML now Available
    By GoldenCAN in forum GoldenCAN
    Replies: 39
    Last Post: October 23rd, 2006, 10:00 AM
  4. Question about using GetData
    By JudiMoore in forum GoldenCAN
    Replies: 3
    Last Post: June 26th, 2006, 11:18 PM
  5. Poll: ASP, ASP.NET or PHP
    By PatrickAllmond in forum Programming / Datafeeds / Tools
    Replies: 9
    Last Post: October 5th, 2005, 08:38 AM

Posting Permissions

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