Difference
Between Server.Transfer and Cross-page Posting
S.No Server.TransferCross-page Posting1URL changes or not:
In Server.Transfer, the URL does not change .URL changes or not:
In cross page posting, the form is submitted to a different page, thereby it changes the url.2 Is it Client-based / Server-based operation ?
Server.Transfer method is a server-based operation.Is it Client-based / Server-based operation ?
Cross-page postback is a client-based transfer.3 IsCrossPagePostBack property available or not:
There is no such property available in Server.Transfer method.IsCrossPagePostBack property available or not:
It is easy to determine whether the page was invoked from a cross-page posting or a Server.Transfer operation, by checking the property named IsCrossPagePostBack of the Page class.
No comments:
Post a Comment