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 are the High-Availability solutions in SQL Server and differentiate them briefly?
What is a transactions?
What is inner join in sql server joins?
Explain the dbcc pintable command when would you use it?
What is the use of keyword with encryption. Create a store procedure with encryption?
What are alternate keys?
What is resource db in sql server?
What are the types of subscriptions in SQL Server replication?
What are the advantages of user-defined functions over stored procedures in sql server?
What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration
What is explicit cursors?
John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?
What triggers long term care?
Explain transaction isolation levels in sql server?
Explain the various types of concurrency problem. I.e. Lost or buried updates, uncommitted dependency, inconsistent analysis, phantom read?