SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: asp help

  1. #1
    SitePoint Member
    Join Date
    Jul 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    asp help

    Please help me with a solution:

    I am in design phase of my new portal.
    The requirement is like...
    ServerSide:
    Input will be:
    I have to get data(only one field) from 5 diffrent tables(row n column position is well known and fixed).Each table is in diffrent html file.
    output will be:
    these 5 data values are to be written in a table and then only this table contents is to be sent to the client side(browser).

    Summary:
    A user will request data, then at server i will fetch 5 other weblocations and summarise their data in one table, which is then sent to the user.
    User will see data coming from my website...but in reality i would be accessing other's resources.

    <snip />
    Last edited by SpacePhoenix; Jul 20, 2010 at 10:01. Reason: removed fake signature

  2. #2
    SitePoint Guru
    Join Date
    Jun 2007
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    google:

    screen scraping asp -.net

    you'll get examples like:

    http://www.codetoad.com/asp_http_cache.asp

  3. #3
    SitePoint Addict itHighway's Avatar
    Join Date
    Jan 2008
    Location
    GUJ
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure what you mean. But below is the script to retrieve data from other websites.


    set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
    ' set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP.4.0")
    ' set objHttp = Server.CreateObject("Microsoft.XMLHTTP")
    objHttp.open "POST", "http://www.yahoo.com/", false
    objHttp.setRequestHeader "Content-type", "application/x-www-form-urlencoded"
    objHttp.Send
    response.write(objHttp.responseText)


Bookmarks

Posting Permissions

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