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 indexing a document?
What are different types of data sources?
How to provide column names in insert statements in ms sql server?
Explain index in sql server?
What is dbcc? Give few examples.
Can you name some of the dml commands in sql?
Can you explain full-text query in sql server?
What is code near application topology?
What do you mean by an execution plan? How would you view it?
What is “begin trans”, “commit tran”, “rollback tran” and “savetran”?
Define inner join? Explain with an example?
1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?
What are a scheduled jobs?
What is an indexed view?
How to declare a cursor with "declare ... Cursor" in ms sql server?