Difference between server.transfer and server.execute method?
Answer Posted / 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 |
Post New Answer View All Answers
What is dirty read?
Why use view instead of a table?
What is difference between standardization and normalization?
How can change procedure in sql server?
As a general practice, it is recommended to have dbo be the owner of all database objects however, in your database you find number of tables owned by a user other than dbo, how could you fix this?
What is an execution plan?
What are drillthrough reports?
What is the need for group functions in sql?
What is default constraint?
What are horizontal and vertical scaling?
what is a mixed extent? : Sql server administration
Explain the phases a transaction has to undergo?
How to write a query with a right outer join in ms sql server?
What are the events recorded in a transaction log?
What is nolock?