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 do you understand by coalesce in sql server?
What is sql collation?
How do I create a stored procedure in sql server?
Can you tell me some of the common replication dmv's and their use? : sql server replication
How to use user defined functions in expressions?
What are rows and columns?
What is the default port for SQL Server over a firewall?
Why would you call update statistics?
What is the difference function and stored procedure?
What is a file group?
what are defaults? : Sql server database administration
What is lock escalation and what is its purpose?
What is transaction server auto commit?
How adventureworkslt tables are related?
Explain relational data?