- In Server.transfer their is no round trip while Response.redirect has a round trip hence puts a load on the server.
- Using Sever.transfer you cannot redirect to a different server itself while using Response.redirect you can redirect to a different server also.
basically this is a a my own blog to help ma students and friends with sharing useful information with the. information regarding C language code. .net applications, .net projects. general technical information. notes.
Sunday, 20 May 2012
difference between response.redirect and server.transfer
Page Life Cycle in asp.net
| Page Event | Use of Event |
| PreInit |
|
| Init |
|
| InitComplete |
|
| PreLoad |
|
| PageLoad |
|
| Control events |
|
| LoadComplete |
|
| PreRender |
|
| PreRenderComplete |
|
| SaveStateComplete |
|
| Unload |
|
Subscribe to:
Comments (Atom)