replace the address in client browser for server.transfer with the the real location?

replace the address in client browser for server.transfer with the the real location?

am 23.01.2008 09:54:44 von JX

Is it possible to replace the address in client browser for server.transfer
with the the real location?

Re: replace the address in client browser for server.transfer with the the real location?

am 23.01.2008 11:09:48 von xyz_john

Only if you do a response.redirect. Server.transfer happens server side, to
change the URL you would need to issue soemthing server side.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog


"JX" wrote in message
news:%23EW1C6ZXIHA.4532@TK2MSFTNGP02.phx.gbl...
> Is it possible to replace the address in client browser for
> server.transfer
> with the the real location?
>
>
>

Re: replace the address in client browser for server.transfer with the the real location?

am 23.01.2008 11:33:08 von Patrice

No. Server.Transfer happens server side so there is no way for the browser
to know. Depending on your needs you could perhaps use Response.Redirect
that happens client side.

If not suitable you may want to explain what you are trying to do so that
one could suggest another approach...

--
Patrice

"JX" a écrit dans le message de news:
%23EW1C6ZXIHA.4532@TK2MSFTNGP02.phx.gbl...
> Is it possible to replace the address in client browser for
> server.transfer
> with the the real location?
>
>
>

Re: replace the address in client browser for server.transfer with the the real location?

am 23.01.2008 13:15:26 von JX

Not much, just think transfer is more efficient compared with redirect, but
it will mess up the client side address, so it would be nice to have the
benefit of transfer while not making user puzzled.


"Patrice" wrote in message
news:eZFaataXIHA.5984@TK2MSFTNGP06.phx.gbl...
> No. Server.Transfer happens server side so there is no way for the browser
> to know. Depending on your needs you could perhaps use Response.Redirect
> that happens client side.
>
> If not suitable you may want to explain what you are trying to do so that
> one could suggest another approach...
>
> --
> Patrice
>
> "JX" a écrit dans le message de news:
> %23EW1C6ZXIHA.4532@TK2MSFTNGP02.phx.gbl...
> > Is it possible to replace the address in client browser for
> > server.transfer
> > with the the real location?
> >
> >
> >
>
>

Re: replace the address in client browser for server.transfer with the the real location?

am 23.01.2008 13:58:39 von Patrice

Either you have Server.Transfer efficiency that is a server side thing but
then you can't do much client side.

Either you use Response.redirect that is client side and is then able to
direct the browser explictely to another location but then you don't have
something that is server side only. you dind't say whay Response.Redirect
doesn't fit your needs...

A third option would be to get rid of Server.Transfer if this is not
strictly needed (this is why I mentioned the third option that is explaining
what you are trying to do in case someone would have another approach).

--
Patrice


"JX" a écrit dans le message de news:
eEpdNqbXIHA.4696@TK2MSFTNGP05.phx.gbl...
> Not much, just think transfer is more efficient compared with redirect,
> but
> it will mess up the client side address, so it would be nice to have the
> benefit of transfer while not making user puzzled.
>
>
> "Patrice" wrote in message
> news:eZFaataXIHA.5984@TK2MSFTNGP06.phx.gbl...
>> No. Server.Transfer happens server side so there is no way for the
>> browser
>> to know. Depending on your needs you could perhaps use Response.Redirect
>> that happens client side.
>>
>> If not suitable you may want to explain what you are trying to do so that
>> one could suggest another approach...
>>
>> --
>> Patrice
>>
>> "JX" a écrit dans le message de news:
>> %23EW1C6ZXIHA.4532@TK2MSFTNGP02.phx.gbl...
>> > Is it possible to replace the address in client browser for
>> > server.transfer
>> > with the the real location?
>> >
>> >
>> >
>>
>>
>
>

Re: replace the address in client browser for server.transfer with the the real location?

am 23.01.2008 14:01:06 von mark

"JX" wrote in message
news:eEpdNqbXIHA.4696@TK2MSFTNGP05.phx.gbl...

> just think transfer is more efficient compared with redirect

Depends who you talk to...
http://www.google.co.uk/search?sourceid=navclient&hl=en-GB&i e=UTF-8&rlz=1T4GZEZ_en-GBGB252GB252&q=%22Response%2eRedirect %22+%22Server%2eTransfer%22


--
Mark Rae
ASP.NET MVP
http://www.markrae.net