473,586 Members | 2,681 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1626
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.Redire ct
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.co ma écrit dans le message de news:
%2************* ***@TK2MSFTNGP0 2.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.redire ct. 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.co mwrote in message
news:%2******** ********@TK2MSF TNGP02.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******** ******@TK2MSFTN GP06.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.Redire ct
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.co ma écrit dans le message de news:
%2************* ***@TK2MSFTNGP0 2.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.redire ct 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.Redire ct
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.co ma é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******** ******@TK2MSFTN GP06.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.Redire ct
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.co ma écrit dans le message de news:
%2************ ****@TK2MSFTNGP 02.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.co mwrote in message
news:eE******** ******@TK2MSFTN GP05.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
4565
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 and the pdf show up into the browser history (in IE only) leading to the dreaded back-button loop. My first bit of javascript (to load the jump...
2
1808
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 System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
10
2116
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, default frameset. The redirect works, but the called, nonexistent URL remains in the browser's address bar. Is there any way to refresh a browser's...
7
21287
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 someone (client) that visits a web site through an anonymous proxy if this person ONLY has JavaScript enabled in their browser? This is NOT a...
4
4879
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 repsonse.redirect. My understanding was that the server.transfer method doesn't update the URL address bar. However, I've a situation that I'm a bit confused...
15
1930
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
2255
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 throw the following exception: System.Runtime.Serialization.SerializationException {“Cannot find the assembly Tester, Version=1.0.2164.27180,...
4
6285
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> Anderas
5
3166
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 if the client server communication is not directly visible to the user (who logs into the client), the fact that the server is publicly accessible...
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5710
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.