Find jobs | Company-wise jobs
Jobseekers | Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Interview Q&A Tutorials .NET Java Soft skills CV GD Work from home IT practice test MBA practice test FAQs in PDF Books Jobs FAQs

Server.Transfer and response.Redirect in ASP.NET

Next question>>
Server.Transfer and response.Redirect in ASP.NET - March 31, 2009 at 18:30 PM by Amit Satpute

Difference between Server.Transfer and response.Redirect.

Following are the major differences between them:-

Server.Transfer

  • The browser is directly redirected to another page
  • There is no round trip
  • A Server transfer is possible within a website
  • Information can be preserved in Server transfer through a parameter called preserveForm

Response.Redirect

  • The browser is requested to redirect to some other page through a message.
  • There is a round trip.
  • Response redirect is possible within two websites too.
  • A state can be maintained in Response redirect but has a lot of drawbacks
ASP.NET Server.Transfer and Response.Redirect - March 13, 2009 at 15:20 PM by Amit Satpute 

List the difference between Server.Transfer and Response.Redirect.

Server.Transfer

The Transfer method transfers from inside of one ASP page to another ASP page.
Transfer passes the context information to the called page.
The state information that has been created for an ASP page gets transferred to the other ASP page which comprises of objects and variables within an Application or Session scope, and all items in the Request collections.

Response.Redirect

The redirect message issues HTTP 304 to the browser and causes browser to go to the specified page. There is round trip between client and server.
Redirect doesn’t pass context information to the called page
.

Next question>>

Also read     

Difference between Server.Transfer and response.Redirect.

Following are the major differences between Server.Transfer and response.Redirect.....

What is impersonation in ASP.NET?

ASP.NET can also impersonate a specific account you specify in web.config.........

Windows authentication.

If windows authentication mode is selected for an ASP.NET application, then authentication also needs to be configured within IIS since it is provided by IIS............

Passport authentication

Passport authentication provides authentication using Microsoft’s passport service............

Difference between dataset and datareader.

DataSet object can contain multiple rowsets from the same data source as well as from the relationships between them..........

Command objects uses, purposes and their methods.

The command objects are used to connect to the Datareader or dataset objects with the help of the following methods.........   

 
Want to be hunted by potential employers? Just submit your key skills!

Popular FAQs

.NET .Net Architecture ADO.NET Java Oracle C#.NET
VB.NET DOT.NET AJAX ASP.NET NET Framework OOPS in .NET
C++ Sql Server Data warehousing EJB MySQL Linux
PHP UML Networking Testing XML  
 
Copyright © 2008 - 2010 CareerRide.com. All rights reserved.