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

Posted on 2008-11-10
Last Modified: 2012-05-05
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.
Question by:ziorrinfotech
    LVL 13

    Accepted Solution

    That's what Transfer is for actually. Else, you should use Response.Redirect() with the parameters if needed :
    LVL 7

    Assisted Solution

    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:

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
    This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now