how to know the page name when it comes from Server.transfer

ziorrinfotech used Ask the Experts™
I am using server. transfer to send user from one page to another in my website.
but the problem is in the address bar of user`s browser the file remains same like oldpage.aspx

is there any way by which i can know the name of aspx page and also show the correct page file in adresss bar.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
That's what Transfer is for actually. Else, you should use Response.Redirect() with the parameters if needed :
and even then if you need to use server.transfer, you will need to do URL rewriting.
see the following link for a good work for URL rewriting:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial