What is the Difference Between Server.Response and Response.Redirect in ASP.Net with C#?
Submitted by: AdministratorThe 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().
Submitted by: Administrator
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().
Submitted by: Administrator
Read Online DotNet Errors Job Interview Questions And Answers
Top DotNet Errors Questions
☺ | How to use single crystal report viewer to multiple reports? |
☺ | How to find out syntax error by manual testing? |
☺ | What is the Difference Between Server.Response and Response.Redirect in ASP.Net with C#? |
☺ | How we change the .net 1.0 to .net 2.0? is that can we only paste the dll file? |
☺ | Suppose a cowboy rides to town on Friday he stays there for three days and lives on Friday. How was that possible? |
Top Exception Handling Categories
☺ | ERRORS Interview Questions. |
☺ | Scripts Errors Interview Questions. |
☺ | Oracle Errors Interview Questions. |
☺ | C C++ Errors Interview Questions. |
☺ | DotNet Errors Interview Questions. |