asp.net After a Server.Transfer how do you get the path of the current page?
<p>To get the url of the current page, I usually do something like this:</p>

<pre><code>string path = Request.Path;
</code></pre>

<p>If I do this after a Server.Transfer then I get the path of the page where the transfer was done. How can I get it for the current page?</p>

<p>For example:</p>

<p>On Page1.aspx  I do Server.Transfer ("Page2.aspx")<br>
On Page2.aspx  Request.Path returns /Page1.aspx and not /Page2.aspx</p>

<p>I would like to get /Page2.aspx. How can I get it?</p>
