Difference between server.transfer and server.execute method?

Answers were Sorted based on User's Feedback



Difference between server.transfer and server.execute method?..

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

Difference between server.transfer and server.execute method?..

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

Post New Answer

More SQL Server Interview Questions

what is the difference between Delete and Truncate

4 Answers   CarrizalSoft Technologies, Geo Research Centre,


What is sql server management studio? : sql server management studio

0 Answers  


What is Schema in Database?

1 Answers   Cap Gemini,


What according to you is the difference between mysql and sql server performance?

0 Answers  


What is normalization 1nf 2nf 3nf?

0 Answers  


what is extended StoreProcedure ?

3 Answers   Satyam,


What is surrogate key? : sql server analysis services, ssas

0 Answers  


What command is used to delete a table from the database in the sql server and how?

0 Answers  


What is an expression in ms sql server?

0 Answers  


How many types of Outer Joins?What are they?

1 Answers  


Can an entity have two primary keys?

0 Answers  


Can we perform backup restore operation on tempdb? : sql server database administration

0 Answers  


Categories