Problem with posting information RRS feed

  • Question

  • User442721195 posted

    I'm not sure if this is the correct forum, but I have a problem with a asp page.

    I have a form where I post some text, this form is posted to a asp script on my server, based on the parameters posted in the form this scripts collects some data from a database, for each record the database returns I need to send the information to an aspx script on another server with the get method. This is basically no problem if i could use for example <script src="http://the script.com/routine.aspx?msgId=222 etc></script> inside the database loop. But, this will not work as the other script will refuse this since the IP address will be my browser and not my server. So, what I think I need is a VB script or something similar that uses runat="server" so that the IP address will be correct.

    Below you find the code that works, but sends the wrong IP to the script.:
    do until SQLtemp.eof


    <script src="http://push.xxxxyyy.com/routine.aspx?msg=<%=msg1%>&id=1234"></script>


    set SQLtemp=nothing
    set conn=nothing

    -----------------------------------<!-- / message -->

    Tuesday, April 19, 2005 11:58 AM

All replies