Difference between server.transfer and server.execute method?

Answers were Sorted based on User's Feedback



Difference between server.transfer and server.execute method?..

Answer / sreyasmn

Server.Transfer takes the control execution of the page to
the new page and thereafter it doesnt return automatically
to the original page.

The transfer happens at the server side and the client
browser is not aware of the change and hence will not
update the URL.

Server.Execute actually executes the specified page and
then returns back to the original page. This can be used in
scenarios where you want to go to a specific page, execute
some thing and then come back to the original page.

Is This Answer Correct ?    26 Yes 2 No

Difference between server.transfer and server.execute method?..

Answer / t

The transfer happens at the server side and the client
browser is not aware of the change and hence will not
update the URL.

Server.Execute actually executes the specified page and
then returns back to the original page. This can be used in
scenarios where you want to go to a specific page, execute
some thing and then come back to the original page.

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is the use of SCOPE_IDENTITY() function?

2 Answers  


What is table value parameters (tvp)?

0 Answers  


What is an extended Stored Procedure?

1 Answers  


Which databases are part of SQL server default installation? Explain the usage of each?

2 Answers   Accenture,


What is extended stored procedures?

0 Answers  






What is msdb database? : SQL Server Architecture

0 Answers  


What are subqueries in sql server?

0 Answers  


How to get max 100 values from sql server

7 Answers  


Can we use where clause in union?

0 Answers  


Does any body please help me what question's have asked for SSRS in the interview?

0 Answers  


what is extended StoreProcedure ?

3 Answers   Satyam,


How many types of dimensions are there and what are they? : sql server analysis services, ssas

0 Answers  


Categories