Click here to Skip to main content
15,906,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is the difference between response.redirect and server.transfer?i am able to use response.redirect to go to another page but not able to use server.transfer.
Posted

* Response.redirect is used to Navigate between the pages of same site & more than one site.
* Response.redirect itself not transfer the information from one page to another.
* It uses Querystring externally to navigate the information from one page another page.

* Here if you see while navigating to any page the Url is changed.

# Server.transfer is used to Navigate between the pages of same site only.

#* Server.transfer itself transfer the information from one page to another.

# It uses Querystring internally to navigate the information from one page to another with in the site.


# Here if you see while navigating to any page the Url is not changed.
 
Share this answer
 
Have a look at this[^]

hope it helps :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900