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 can a user-defined datatype be created?

0 Answers  


How to create new table with "create table" statements?

0 Answers  


How do I perform an unattended install of sql server 2000?

0 Answers  


What is data source in connection string?

0 Answers  


what is isolation level at dead lock?

0 Answers   Verizon,


How to provide Security for package?

1 Answers   Convergys,


SQL Server Performance Tuning for Stored Procedures & reducing debugging time?

1 Answers   CarrizalSoft Technologies,


What is a unique key constraint?

0 Answers  


Do you know query execution plan?

0 Answers  


What do you understand by a view?

0 Answers  


How To Change Column Ordinal Position in SQL Server 2005 using Query i.e I Want To Add Column at Particular Ordinal Position in SQL Server 2005

2 Answers  


How can I track the changes or identify the latest insert-update-delete from a table?

0 Answers  


Categories