Saturday, July 5, 2014

Server.Transfer and Respone.Redirect

server.transfer
Response.Redirect

does not send any message to the browser but rather redirects the user directly from the server itself
it sends message to the browser saying  it to  move to some different page.
so in server .transfer there is no round trip
has round trip and hence put loads on server
using server.transfer you can not redirect to different server
example if your server is www.yahoo.com and cannot using server.transfer to move to www.microsoft.com
 but yes , you can move to www.yahoo.com/travels i.e within the websites
using response.redirect  you can redirect to different server




No comments:

Post a Comment

Thank you for visiting my blog

Kubernetes

Prerequisites We assume anyone who wants to understand Kubernetes should have an understating of how the Docker works, how the Docker images...