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 a periodical index?
What new changes are being made in SQL Server?
What is the difference between dataadapter and datareader?
What is subquery? Explain the properties of a subquery?
What is the default server name for sql server?
How to rebuild all indexes on a single table?
Does hive support indexing?
Describe in brief databases and sql server databases architecture.
What is normalization according to you and explain its different levels?
How do you rename a table in sql server?
Can you name a few encryption mechanisms in sql server?
What is pivot and unpivot?
What is the difference between count () and rowcount ()?
What happens to a trigger with multiple affected rows?
How do I port a number to sql server?