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

How to round a numeric value to a specific precision?

0 Answers  


What is Inner Join?

2 Answers  


What are relationships and mention different types of relationships in the dbms

0 Answers  


How to generate create procedure script on an existing stored procedure?

0 Answers  


Explain the xml support sql server extends?

0 Answers  






What is difference between oltp and olap?

0 Answers  


How do I repair damaged sql server mdf file database? In previous day my mdf file has got damage due to unknown reasons then I used dbcc chekcdb command but it failed, MDF file is important for me, I don’ know that how to get back mdf file data. Please anyone suggest me?

0 Answers  


You want to implement the one-to-one relationship while designing tables. How would you do it?

0 Answers  


what are the steps you will take to improve performance of a poor performing query? : Sql server database administration

0 Answers  


What is meant by indexing files?

0 Answers  


How many full-text indexes can a table have?

0 Answers  


What is the cpu pressure?

0 Answers  


Categories