C# –
action when using Server.Transfer()

asp.netasp.net-3.5c

I am using Server.Transfer() to transfer processing from one page to another. The problem is that the form action in the source of the page, having been transferred, refers to the destination page and not the original page as per the URL in the browser.

Is there a way to make the action of the form reflect the URL in the browser, rather than the actual destination page?

Thanks in advance!

Mark

Best Answer

Not to worry, I've rewritten my routing code using the System.Web.Routing namespace so all the logic is centralised in my global.asax. Works a treat!

Thanks for your help.

Mark