Search Result

Collapse
5 results in 0.0025 seconds.
Keywords
Members
Tags
webrequest
  •  

  • How to keep connection alive when using webrequest?

    string strURL = (Request.IsSecu reConnection ? "https://website.com/Transaction.asm x" : "http://website.com/wTransaction.as mx");

    string strCommand = clsMisc.strGetD ataFromPage(thi s, "c", "", PostMethod.BOTH );
    string strAppCode = clsMisc.strGetD ataFromPage(thi s, "a", "WEBIN", PostMethod.BOTH );
    string strVenueCode = clsMisc.strGetD ataFromPage(thi s, "v",...
    See more | Go to post

  • how can i do an http post to execute javascript and get the returned page html?

    I have retrieved the html of a web page using the WebRequest object but the page itself does not contain the information I need to extract. There is a javascript function which runs once the page is loaded which then retrieves and adds the information I need to the page. Is there a way of performiing some sort of GET/POST operation which will execute the required javascript function and return the html of the completed page (which contains the...
    See more | Go to post

  • HttpWebRequest - how to choose between LAN & WLAN connection?

    I use HttpWebRequest & HttpWebResponse to get information from a website.

    While my PC is connected to the Internet with LAN & WLAN is it possible to choose the interface (WLAN adapter or LAN adapter) which will be used for the request?

    Can I create a loop to get through both connections?
    See more | Go to post

  • Problem with unencoded pound signs and WebRequest

    I am having trouble with a C# proxy page I am writing which allows me to do cross domain AJAX calls with Javascript.
    The problem is with certain pages that contain pound signs £ that are not HTML encoded in the source that I am trying
    to extract with the WebRequest and WebResponse objects.
    The page is using a charset of iso-8859-1 which I think is the problem as my object is using UTF-8. I have created
    two test pages...
    See more | Go to post

  • How do i do two consecutive WebRequest.GetResponse ?

    i'm new to c#

    the following is my code:
    *************** *************** ************
    HttpWebRequest myRequest = (HttpWebRequest )WebRequest.Cre ate("http://www.google.com" );

    HttpWebResponse myResponse = (HttpWebRespons e)myRequest.Get Response();
    myResponse.Clos e();

    myRequest = (HttpWebRequest )WebRequest.Cre ate("http://www.mns.com");
    myResponse = (HttpWebRespons e)myRequest.Get Response();...
    See more | Go to post
Working...