Client app send request in same session after Response.Write( ..) on my aspx page. Can i retrieve this data?
<p>There are two web application.</p>

<p>WebApp1 send POST-request(1) to WebApp2. Then WebApp2 send POST-response(2) to WebApp1. I am developing WebApp2. I create simple aspx-page. OnLoad event give me ability to process (1) &amp; (2) and provide app logic. To make response(2) I am using Response.Write(...). But! after response(2) WebApp1 send one more request to my app, to confirm, that my response recieved succesfully. That is the problem. I don't know how to catch (3). Response.Write(...) writes to response stream, but doesn't return any data from WebApp1.</p>

<pre><code>    protected void Page_Load(object sender, EventArgs e)
    {

        if (Request.HttpMethod == "POST")
        {
            logger.Trace(" -- POST REQUEST ...");
            string requestBody;
            using (StreamReader writer = new StreamReader(Request.InputStream))
            {
                requestBody = writer.ReadToEnd();
                logger.Trace("Request body:\n{0}", XmlHelper.FormatStringToXml(requestBody));
            }
            string responseBody = ProcessRequest(requestBody);

            logger.Trace("Response body:\n{0}", XmlHelper.FormatStringToXml(responseBody));
            if (!string.IsNullOrEmpty(responseBody))
            {
                SendPostXmlResponse(responseBody);
            }
            else
            {
                logger.Error("Cant send empty response. No response was sended.");
            }
        }
        else
        {
            logger.Error(" -- GET REQUEST is not supported. No actions were made.");
        }
    }


    private void SendPostXmlResponse(string response)
    {          
        Response.ContentType = "text/xml";
        Response.Clear();
        Response.BufferOutput = true;
        Response.Charset = "utf-8";
        Response.ContentEncoding = System.Text.Encoding.UTF8;
        using (MemoryStream stream = new MemoryStream (SmsService.StringToUTF8ByteArray(response)))
        {
            stream.WriteTo(Response.OutputStream);
        }
    }
</code></pre>

<p>Method SendPostXmlResponse(string response) must return data, recieved from client, after response is sended.</p>
