ALLInterview.com :: Home Page            
 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                      
Google
   
 
Categories >> ERRORS >> DotNet Errors
 
 


 

 
 C C++ Errors interview questions  C C++ Errors Interview Questions (62)
 DotNet Errors interview questions  DotNet Errors Interview Questions (14)
 Database Errors interview questions  Database Errors Interview Questions (16425)
 Scripts Errors interview questions  Scripts Errors Interview Questions (55)
Question
What is Difference Between Server.Response and
Response.Redirect in ASP.Net with C#?
 Question Submitted By :: DotNet-Errors
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
The data transfering between two page will be more differ on server.Transfer() and Response.Redirect().

Server.Transfer



Server.Transfer() helps the one less round trip. The main advantage of this transfer the first page to second page with better performance. The data can pass through variables, query string and also can retrive from the previous page control value.

Eg: Server.Transfer("Default.aspx");

Response.Redirect()


It is very similar to server.Transfer. The main difference is the posted pervious page values can't be accessable. Here also the data can pass through server variables and query string. It simply redirect the page from one page to another.

Eg: Response.Redirect("Default.aspx")

Note: But the pervious page values can't be accessable by Response.Redirect().

By the Following code setup attachement, This concept will be more understandable. Make use of it.

for code:
http://www.dotnetfunda.com/articles/article164.aspx
 
Is This Answer Correct ?    3 Yes 0 No
Narendran
 

 
 
 
Other DotNet Errors Interview Questions
 
  Question Asked @ Answers
 
Hi everyone, I got some problem this week. I don't know the coding for "Linklabel" in C#.net. In ASP.net, I use it "Response.Redirect" and "Server.Transfer" and I also can use hyperlink. When offline I use "linklabel", Now I still write by "System.Dianogstic", It still showing error and can't reach my dedicated page(Means design page). So if anyone know it, please share your technical help. Thanks (Horace Trever)   1
a cowboy rides to town on friday he stays there for three days and lives on friday.how was that possible Synechron 2
how we change the .net 1.0 to .net 2.0?is that can we only paste the dll file?   1
Hi Everyone, I used VB.net until last year, this year I change my language to C#.net.But the easy one in VB.net such as "Set as Start page when running program", right click on solution explorer and do it. But in C#.net I can't find the way to do (Set as start page)until now. If anyone know it , please share your technical help. Thanks . (Horace Trever)   4
What is Managerial Grid? Contract its approach to leadership with the approaches of the Ohio state and Michigan groups.   1
sir, i have passed on S.B.I for clerk asstt. and i want to know that how many candidates were appointed from s.c cota? SBI 1
while am using file upload control in the content type=="pjpeg" then it will execute,but if the content type=="jpeg" it is not execute.What it is the meaning of i.e:"pjpeg" i want to upload all type of images like jpeg,bmp,gif etc..,and that image is display in the "image control" when am click the Button click event...HOW.. Plz replay ...   2
What is Difference Between Server.Response and Response.Redirect in ASP.Net with C#? NIIT 1
Weather I can use Dotnet framework 1.0 and 2.0 in same machine for Two application or not if "Yes" then how will configure in IIS for Framework 1.0 and 2.0 First Application will be working in .net Frame work 1.0 Send will be .net Frame work 2.0 How to Configure IIS for both Application using Virtual Directory I tried but when Confirte 1.0 then Second Application not working which is having 2.0 Framework but when Conf. 2.0 then Send Application works but First app. Not Work ...... How I Configure IIS for both Application Throwing ERR "The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. " After Hitting Refresh Button also not works...... ? ISST 2
How to use singal crystal report viewer to multiple reports? Sparsh 1
not being able to create delivery from vl01n inspite of assigning sales order and delivery plz answer it immediately if any one knows   1
Actually,I created a web application in ASP.NET (Visual Studio 2008) in C#.If i want to run my web application in my local machine through IIS Server (Internet Information Server), what are all the steps i need to follow??? Please help me to run my web application in IIS Server   1
 
For more DotNet Errors Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com