Differentiate between Server Transfer and Response
Answers were Sorted based on User's Feedback
Answer / srujana
Server Transfer :
1. To transfer page processing from one page directly to
the next page without making a round-trip back
to the client's browser we use Server Transfer .
2. Server Transfer provides a faster response with a little
less overhead on the server.
3. The clients url history list or current url is not
updated by the Server Transfer.
Response Redirect :
1. To redirect the user's browser to another page or site
Response.Redirect is used.
2. This performs a trip back to the client where the
client's browser is redirected to the new page.
3. The user's browser history list is updated to reflect
the new address.
|Is This Answer Correct ?||21 Yes||0 No|
Answer / lalit
Server Transfer can only redirect to the pages (URL)which
are available within that server and can carry the control
state while transferring.
Response Redirect allows you to transfer to the pages (URL)
which might or might not available in that web server. and
cannot carry the control state while transferring.
|Is This Answer Correct ?||5 Yes||1 No|
detail code for sql data connections?
When maintaining session through Sql server, what is the impact of Read and Write operation on Session objects? will performance degrade..
To call a Web service which transport protocol you can use?
Explain the life cycle of an ASP .NET page
You need to be able to retrieve data from DataSet object that has four DataTable objects. There are currently UniqueConstraint and ForeignKeyConstraint Object on the DataTable objects to enforce the data rules. You find that you can retrieve the data from the individual DataTable objects, but you are not able to retrieve the data from the combination of DataTable objects in a Parent/Child manner. What should you do to able to retrieve the data in a Parent/Child manner? a) Set the EnforceParentChild parameter of the DataSet to True. b) Set the EnforceRelation parameter of the Relations collection to True. c) Add DataRelation objects to the Relations Collection to make the DataSet present the data in Parent/Child manner. d) Add a primary key and a foreign key to each of the DataTable objects that should present the data in a Parent/Child manner.
I have a method written in WebForm (means .aspx page) & now I want to call this method in WebUserControl (means .ascx page) what should I have to do?
Is It Possible for Static Variables access normal variable? and Normal Varialbe Access the static Variables?
How many Controls present in Asp dot net?
what is view state and its use
How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)
I have a webform in asp.net.In that webform there is 2 division class(DIV).in one of the div class there is a text box for enter the id & a button for to check id with database value.My doubt is that how can i appear the 2nd Div contents only when the id is true with database value.if wrong do not display the div . i Want code in c#.
what is difference between .net 3.0 and 3.5