Re: Server.Transfer vs. Response.Redirect



Response.Redirect tells the client the new URL that should be hit.

Server.Transfer is server side and the client doesn't know the new location
which could be a problem.

Still I've got mayself a hard time to find out a legitimate use for
Server.Transfer / Server.Execute. I always thought it's here mainly for
legacy as it always looks like to me the reason is that you embedded some
processing in a particular ASPX page which is not especially desirable ?

Hopefully someone will pop up with a legitimate use I didn't thought
about...

Patrice

--

"Terry Olsen" <tolsen64@xxxxxxxxxxx> a écrit dans le message de
news:%23oDouTbcFHA.2288@xxxxxxxxxxxxxxxxxxxxxxx
> Since both methods seem to produce the same results, in which cases
> would you prefer one over the other? The only thing I would think is
> using Server.Transfer because of some browsers blocking redirects.
>
> *** Sent via Developersdex http://www.developersdex.com ***


.



Relevant Pages

  • Re: Remote Desktop hangs until hitting a key on host machine
    ... The first time I connect to my XP Pro machine using the Remote Desktop ... Client the screen on the (server side) machine goes blank/black just as I hit ... OK in the "Log On to Windows" dialog on the client side. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: SSL performance
    ... regarding how to increase the SSL session alive time? ... > connection I'm using both server and client certificate. ... > I receive a performance hit for about 20-30 sec on the first call with the ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Csocket onReceive() get data on XPmachine but not Win2k machine
    ... > The client connects to the server OK and I hit the OnAcceptmethod but the OnReceivemethod is never hit when the client sends data. ... There are some old known problems in CSocket. ...
    (microsoft.public.vc.mfc)
  • Re: DirectorySearcher first access speed
    ... the LDAP server executes the ... the size of this resultset is limited at ... the ADSI client starts to pull the buffered resultset from the server to the ... This is the 0.45 sec. hit you are taking, ...
    (microsoft.public.dotnet.languages.csharp)
  • Already Activated
    ... I have a new client who had a server installed for them. ... the .bak file did not exist. ... The client has a legitimate License and CD key. ...
    (microsoft.public.windows.server.general)