Response.Redirect()和Server.Transfer()有什么区别呢?
如果做一个页面转换按钮用什么方法较好?
---------------------------------------------------------------
>>区别?
Response.Redirect is a round-trip redirection
server->browser->server->browser (display a new URL in the address bar)
Server.Transfer is a server-side redirection
server->server->browser (display the old URL in the address bar)
>>用什么方法较好?
depending on what you are doing, normally, you should use Response.Redirect
如果做一个页面转换按钮用什么方法较好?
---------------------------------------------------------------
>>区别?
Response.Redirect is a round-trip redirection
server->browser->server->browser (display a new URL in the address bar)
Server.Transfer is a server-side redirection
server->server->browser (display the old URL in the address bar)
>>用什么方法较好?
depending on what you are doing, normally, you should use Response.Redirect