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 the meaning of resultset type_scroll_insensitive?
What is the significance of master, tempdb and model databases?
What is sql server management studio? : sql server management studio
What is the stored procedure?
How can I tell if sql server is 32 or 64 bit?
Do you know concepts and capabilities of sql server?
List the different normalization forms?
What is join and name different type of joins?
What is ms sql server reporting services?
How can you append an identity column to a temporary table?
How do I edit a stored procedure in sql server?
What to check if a User database is locked?
Give an example of why you would want to denormalize a database
How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.
What is the use of tempdb? What values does it hold?