473,396 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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

Jan 23 '08 #1
5 1619
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" <no***@noret.coma écrit dans le message de news:
%2****************@TK2MSFTNGP02.phx.gbl...
Is it possible to replace the address in client browser for
server.transfer
with the the real location?

Jan 23 '08 #2
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" <no***@noret.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Is it possible to replace the address in client browser for
server.transfer
with the the real location?

Jan 23 '08 #3
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" <http://www.chez.com/scribe/wrote in message
news:eZ**************@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" <no***@noret.coma écrit dans le message de news:
%2****************@TK2MSFTNGP02.phx.gbl...
Is it possible to replace the address in client browser for
server.transfer
with the the real location?



Jan 23 '08 #4
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" <no***@noret.coma écrit dans le message de news:
eE**************@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" <http://www.chez.com/scribe/wrote in message
news:eZ**************@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" <no***@noret.coma écrit dans le message de news:
%2****************@TK2MSFTNGP02.phx.gbl...
Is it possible to replace the address in client browser for
server.transfer
with the the real location?



Jan 23 '08 #5
"JX" <no***@noret.comwrote in message
news:eE**************@TK2MSFTNGP05.phx.gbl...
just think transfer is more efficient compared with redirect
Depends who you talk to...
http://www.google.co.uk/search?sourc...%2eTransfer%22
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jan 23 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David T. Smith | last post by:
I've been working with a page that should act as a 'jump page' before loading a PDF and when I use the location.replace function to replace the jump page with the resulting PDF, both the jump page...
2
by: brian | last post by:
Is there a way to use location.replace in code behind? The code below will work for a window.alert but not for location.replace. For example: Private Sub Page_Load(ByVal sender As...
10
by: David Shorthouse | last post by:
Hey folks, I have my entire ASP-driven site in a one-frame frameset to preserve a static URL in a browser's address bar. I also have a customized 404 page to redirect a visitor to the top,...
7
by: Privacy Advocate | last post by:
//crossposted to: comp.lang.javascript, alt.comp.lang.javascript in an effort to get factual answers from JavaScript experts// Simply put; Is it possible to obtain the real (actual) IP address of...
4
by: Bob H | last post by:
Hi, I'm aware of the different ways to pass variables between ASP.Net pages. For pages that need to pass a variable, we're using the server.transfer method. For others, we're using...
15
by: dee | last post by:
Hi, I'm curious why MS decided to have Transfer hide the target page's url invisible? Any guesses ? Thanks. Dee.
4
by: Sharon | last post by:
Hi, I'm using the remoting, and I have a remoting object that has a public event that other processes should register to it. But when the client process is registering to the remote event, it...
4
by: andreas.w.h.k. :-\) | last post by:
How do I change the address location in the wsdl <wsdl:port name="SearchSoap12" binding="tns:SearchSoap12"> <soap12:address location="http://searchservices/engine/search.asmx" /> </wsdl:port> ...
5
by: AeonOfTime | last post by:
Let's assume a web application (in this case a browser-based game) with a custom HTTP server built on PHP, and a client also built on PHP. The client uses the server to access and change data. Even...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.