Reponse.Redirect goes to a different server
<p>In our asp.net application we have a button that when pressed should take the user out of frames and back to one window with the following address:</p>

<p><code>http://www.abc.company.com/page3.aspx</code> from the <code>
http: //www.abc.company.com/page2.aspx</code> page they are on.</p>

<p>Instead it takes the user to <code>http://www.xyz.company.com/page3.aspx</code> which doesn't exist.</p>

<p>The code is as follows:</p>

<pre><code>If Page.ISValid then 
    insert_data()
    Response.redirect("~/page3.aspx")
Else
    usermessage.txt = "error"
End if
</code></pre>

<p>Also there is code above it that says</p>

<pre><code>function breakout() {
   window.top.location="~/page3.aspx";
}
</code></pre>

<p>Any thoughts on why it goes from abc to xyz?</p>
