473,406 Members | 2,220 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,406 software developers and data experts.

Server.Transfer Vs. Response.Redirect... to... \\209.11.22.33\MyDir

Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find" errors?

1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir")
2. Client-side VBscript code: location.href ="\\209.11.22.33\MyDir"
3. Typing "\\209.11.22.33\MyDir" into my ie6 browser.
4. Typing "\\209.11.22.33\MyDir" into my Windows Explorer.

5. Server-side ASP: server.transfer "\\209.11.22.33\MyDir"
6. Server-side ASP: response.redirect \\209.11.22.33\MyDir"

How do I make it redirect?

Thanks.

Jul 22 '05 #1
6 4537
"A_Michigan_User" wrote:
Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find"
errors?
1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir")
2. Client-side VBscript code: location.href ="\\209.11.22.33\MyDir"
3. Typing "\\209.11.22.33\MyDir" into my ie6 browser.
4. Typing "\\209.11.22.33\MyDir" into my Windows Explorer.
5. Server-side ASP: server.transfer "\\209.11.22.33\MyDir"
6. Server-side ASP: response.redirect \\209.11.22.33\MyDir"


Really? This is the IP for Google: 64.233.167.99
When I type \\64.233.167.99 into the browser address bar, I get an error. I
have to type //64.233.167.99 to make it go to Google.

This results in "not found":
<%Response.Redirect "\\64.233.167.99"%>

This works fine:
<%Response.Redirect "//64.233.167.99"%>

I didn't bother trying Transfer.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #2
> When I type \\64.233.167.99 into the browser address bar, I get an error.
I
If the target IP is on your LAN you can access that server's file-system
using that syntax. Server.Transfer and response.redirect expect a valid URL

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... "A_Michigan_User" wrote:
Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find"
errors?
1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir")
2. Client-side VBscript code: location.href ="\\209.11.22.33\MyDir"
3. Typing "\\209.11.22.33\MyDir" into my ie6 browser.
4. Typing "\\209.11.22.33\MyDir" into my Windows Explorer.


5. Server-side ASP: server.transfer "\\209.11.22.33\MyDir"
6. Server-side ASP: response.redirect \\209.11.22.33\MyDir"


Really? This is the IP for Google: 64.233.167.99
When I type \\64.233.167.99 into the browser address bar, I get an error.
I have to type //64.233.167.99 to make it go to Google.

This results in "not found":
<%Response.Redirect "\\64.233.167.99"%>

This works fine:
<%Response.Redirect "//64.233.167.99"%>

I didn't bother trying Transfer.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Jul 22 '05 #3
Mark Schupp wrote:
When I type \\64.233.167.99 into the browser address bar, I get an
error. I


If the target IP is on your LAN you can access that server's
file-system using that syntax. Server.Transfer and response.redirect
expect a valid URL


D'oh!

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #4
On Tue, 25 Jan 2005 08:40:22 -0800, "Mark Schupp" <no******@email.net>
wrote:
When I type \\64.233.167.99 into the browser address bar, I get an error.
I


If the target IP is on your LAN you can access that server's file-system
using that syntax. Server.Transfer and response.redirect expect a valid URL


Yup, that's what appears to be happening to me. It's a UNC path, which
IE and explorer deal with fine, will mean bolox all to the ASP engine
though.

--
Iain Norman | http://www.eliteforum.org
Jul 22 '05 #5
> If the target IP is on your LAN you can access that server's file-system
using that syntax. Server.Transfer and response.redirect expect a valid
URL


That's probably what is happening.

What would a "valid" URL look like?

http://209.11.22.33/MyDir

I haven't tried that yet... but I will.

Should that work for server.transfer and response.redirect ?

Thanks
"Mark Schupp" <no******@email.net> wrote in message
news:OD**************@TK2MSFTNGP10.phx.gbl...
When I type \\64.233.167.99 into the browser address bar, I get an error.
I


If the target IP is on your LAN you can access that server's file-system
using that syntax. Server.Transfer and response.redirect expect a valid
URL

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
"A_Michigan_User" wrote:
Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find"
errors?
1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir")
2. Client-side VBscript code: location.href ="\\209.11.22.33\MyDir"
3. Typing "\\209.11.22.33\MyDir" into my ie6 browser.
4. Typing "\\209.11.22.33\MyDir" into my Windows Explorer.


5. Server-side ASP: server.transfer "\\209.11.22.33\MyDir"
6. Server-side ASP: response.redirect \\209.11.22.33\MyDir"


Really? This is the IP for Google: 64.233.167.99
When I type \\64.233.167.99 into the browser address bar, I get an error.
I have to type //64.233.167.99 to make it go to Google.

This results in "not found":
<%Response.Redirect "\\64.233.167.99"%>

This works fine:
<%Response.Redirect "//64.233.167.99"%>

I didn't bother trying Transfer.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Jul 22 '05 #6
"A_Michigan_User" wrote:
If the target IP is on your LAN you can access that server's
file-system using that syntax. Server.Transfer and response.redirect
expect a valid URL


That's probably what is happening.

What would a "valid" URL look like?

http://209.11.22.33/MyDir

Yes. Forward-slashes instead of back-slashes
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #7

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

Similar topics

6
by: StephenMcC | last post by:
Hi All, Got a quick query in relation to the Server.Transfer method available in IIS 5+/ASP. I've got an issue where I want to take a portion of an online app and extract this out into a web...
3
by: Justin | last post by:
Hi, Im confused here over the usage of Response.Redirect and Server.Transfer. I used frameset for my work, what are the proper usages of the two methods that seems working similar.. The...
4
by: Harsh Thakur | last post by:
Hi, I'd like to know the performance related differences between Response.Redirect and Server.Transfer. I'd like to redirect the user to a different page. I can either do a...
5
by: Julien C. | last post by:
Hi all, I have an "EditeItem.aspx" page which lets me edit properties of an "Item". In the OnClick() event of my Save button, I do save Item changes to the database and then I redirect the user...
8
by: Cathie | last post by:
Hi guys, I want to do a Server.Transfer to get to a second page, so that I may retrieve variables I have set in the first page. I'm doing that with the usual Server.Transfer("pagename", true). ...
3
by: Alan Silver | last post by:
Hello, Sorry if this is a stupid question, but I can't really see much difference between these tow methods according to the scant info in the SDK. Could anyone enlighten me? TIA -- Alan...
8
by: bryan | last post by:
I've got a custom HttpHandler to process all requests for a given extension. It gets invoked OK, but if I try to do a Server.Transfer I get an HttpException. A Response.Redirect works, but I really...
9
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
3
by: jasonheath.net | last post by:
I apologize in advance for the length of this post. I wanted to get as much detail as possible in here. We have 1 web app that contains the functionality to do some single sign-on logic. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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,...

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.