locked
Using Variables In a Response RRS feed

  • Question

  • I have wrote some code to send a http post and receive the response from a third party script.

    I have used system.net.webrequest & system.net.webresponse to do this.  I am writing the response data to a string using StreamReader.  This means I end up with a text string with all the variables from the third party script in it.  This is making is annoying to use the returned data.

    Is there a way I can write some code to send a http post and then easily use the variables in the response like when you use request.querystring()?

    Or is there an easy way to parse the variables in the string without having to make regex's to pull the data?

    Tuesday, April 6, 2010 2:28 AM

Answers

  • Can you just capture them in a session variable?

    MM


    chanmm
    • Marked as answer by Bin-ze Zhao Monday, April 12, 2010 6:57 AM
    Tuesday, April 6, 2010 5:52 AM