Request.Path after Server.Transfer
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I try using Server.Transfer instead of Response.Redirect because it saves a roundrtip to the server. However I noticed that Request.Path returns the path of the calling page and not the one of the displayed page after the Server.Transfer. I expected to see the URL of the old page displayed in the browser address bar but I was hoping that internally a page knew his own identity. I need to be able for a page to know the page that actually is being displayed but Server.Transfer tricks me. Is there something to circumvent the Response object for the page to know exactly what page is loaded? --- Edd