Server Transfer In Asp Net. Servertransfer can be only used to transfer requestes to aspx pages. Same way we can use servertransfer on the button click event c protected void button1click object sender eventargs e servertransfer page2aspx.

In my moqd version the transfer call is performed and then execution continues. We also saw pros and cons of each method. In servertransfer following is the sequence of how transfer happens 1user sends a request to an aspnet page.
Aspnet provides redirect and redirectpermanent for this requirement.
It doesnt involve extra round trip which therefore reduces the load on web server and makes applications run faster. Querystring session and servertransfer provide ways to pass our values across pages. The url is changed because the processing of the second page is done on the same page without navigating on the second page. Used to navigate within the same application not outside of an application.