ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is the difference between Server.Transfer and
Response.Redirect? Why would I choose one over the other?
 Question Submitted By :: Ramgopal Reddy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Answer
# 1
Server.Transfer is used to post a form to another page.
Response.Redirect is used to redirect the user to another
page or site.
 
Is This Answer Correct ?    4 Yes 1 No
Ramgopal Reddy
 
  Re: What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Answer
# 2
Both r used to redirect webform
Server.Transfer  fetches page from Server .. while
it will take time..

response.redirect directly open described page..
 
Is This Answer Correct ?    0 Yes 5 No
Nitya
 
 
 
  Re: What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Answer
# 3
Nitya u r wrong , in server.transfer is reliable then
response.redirect ,server.transfer will not create any
cookie and it will take u on the requested page directly and
taking less time then response.redirect.
 
Is This Answer Correct ?    3 Yes 0 No
Vishal Jani
 
  Re: What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Answer
# 4
Server.Tranfer direct shows requested page without any 
server side roundtrip.
But response.redirect it round trip to server then shows 
requested website or page.
 
Is This Answer Correct ?    2 Yes 1 No
Sudhir Kunnure
 
  Re: What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Answer
# 5
Response.Redirect sends message to the browser saying it to 
move to some
different page, while server.transfer does not send any 
message to the browser
but rather redirects the user directly from the server 
itself. So in server.transfer
there is no round trip while response.redirect has a round 
trip and hence puts
a load on server.
Using Server.Transfer you can not redirect to a different 
from the server itself.
Example if your server is www.yahoo.com you can not use 
server.transfer to move
to www.microsoft.com but yes you can move to 
www.yahoo.com/travels, i.e.
within websites. This cross server redirect is possible 
only using
Response.redirect.
 With server.transfer you can preserve your information. It 
has a parameter
called as “preserveForm”. So the existing query string etc. 
will be able in the
calling page.
 
Is This Answer Correct ?    2 Yes 0 No
Vaibhav Nagar
 
  Re: What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Answer
# 6
Incase of Server.Transfer ,it doesnot cause rod trip to 
client and also it does not store url history and directly 
redirect to the requested page without changing URL(Please 
note).It transfer from Server itself.

where as in case of Response.redirect it cause round trip 
to client browser and then transfer from page which cause 
request to redirected page.
 
Is This Answer Correct ?    1 Yes 0 No
Rohan More
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Can we Run the Application without Build Emphasis2
What are the major differences between asp.net1.1 and asp.net 2.0? CTS7
Write a code for "RequiredFieldValidator" in java script Wipro3
is it possible to use web site without web server from remote place? ABC1
Which tab of the web site administration tool do you use to manage application setting ,debug and tracing?  2
What is an application domain ? Microsoft2
How is a property designated as read-only?  2
Usage of web.config? Microsoft1
What is caching? What are the different types of caching?  5
How ASP and ASP.NET page works.  1
Is it possible to add aspx.vb file in to C# Web Project? If so how can i use the vb file in the C# Web project?  3
How do you perform validations? Microsoft2
How do you do validations. Whether client-side or server-side validations are better ? Microsoft2
How to deploy the Asp.Net Project ?  3
What tag do you use to add a hyperlink column to the DataGrid?  1
What are different ASP.NET Web Forms with the technology different from though ASP (1.0-3.0)?  1
What are Master pages? How to define a Master page?  2
In which form does the dataset store data in it? Verinon-Technology-Solutions3
How to manage pagination in a page?  2
What is CLS? PrimeLine1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com