Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?

Answer Posted / ish rastogi

server.transfer is provide faster redirect way for the web
page in comparable to the response.redirect beacuse in te
case of server.transfer ,the page is redirect (one page to
another page)directly from the server means no round
triping is used.but in the case of response.redirect
firstly the client(browser)send the page request to the
server and the server send the request to the page means
one round triping process is used.
in the server.transfer the page can be redirect from
first page to the second page(continuousally)but in
response.redirect the page can be redirect from first page
to any page.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better session or viewstate?

988


In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?

984


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

1076


Please brief not about xsd,xslt & xml?

995


What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?

1042


What are the main differences between asp and asp.net?

1104


Explain about Automatic resource management?

1118


What are web beacons used for?

1070


How does ASP.NET framework maps client side events to Server side events.?

1157


when a request is made in Life cycle of ASP.NET page .

1007


Explain diff. Betn dataset and recordset?

1068


What is autopostback in dropdownlist in asp net?

1043


Can the unique key be null?

1163


Explain asp.net mvc request life cycle? : asp.net mvc

1168


What do you mean by serialize and marshalbyref?

1060