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
Which is better session or viewstate?
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?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
Please brief not about xsd,xslt & xml?
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
What are the main differences between asp and asp.net?
Explain about Automatic resource management?
What are web beacons used for?
How does ASP.NET framework maps client side events to Server side events.?
when a request is made in Life cycle of ASP.NET page .
Explain diff. Betn dataset and recordset?
What is autopostback in dropdownlist in asp net?
Can the unique key be null?
Explain asp.net mvc request life cycle? : asp.net mvc
What do you mean by serialize and marshalbyref?