Difference between server.transfer and server.execute method?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / t
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 ? | 9 Yes | 0 No |
What is the use of SCOPE_IDENTITY() function?
What is table value parameters (tvp)?
What is an extended Stored Procedure?
Which databases are part of SQL server default installation? Explain the usage of each?
What is extended stored procedures?
What is msdb database? : SQL Server Architecture
What are subqueries in sql server?
How to get max 100 values from sql server
Can we use where clause in union?
Does any body please help me what question's have asked for SSRS in the interview?
what is extended StoreProcedure ?
How many types of dimensions are there and what are they? : sql server analysis services, ssas