472,336 Members | 1,321 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

HELP! -- Redirection question

Hello all,

I have a page (located at mywebsite/a.asp) that redirects to another page
(theirwebsite/b.asp) located in other server. This other page probably will
redirect to another link again (othersite/c.asp) and finally display the web
page I want the user to see (finalwebsite/d.asp)

What I want to do is, once they click the link (b.asp) located in the a.asp
webpage, to load a "please wait" type of page, like Expedia does while
looking for information; and that "please wait" page should appear until the
redirection process gets to the final page (d.asp)

Since all the pages (after a.asp) are located outside our server (and we
can't access the code in those pages), how can I do that?!? Please be as
detailed as possible or point me where I can find info about how to do this.

Currently we're using ASP 3.0 running on a Win2003 SP1 server machine

Thanks in advance,
SB-R
Apr 13 '07 #1
4 26906
you should take a look at asynchronous javascript calls ... i would
suggest you download the prototypejs.org framework and solve this with
an ajax-request...
here is a nice tutorial: http://www.prototypejs.org/learn/introduction-to-ajax

On Apr 14, 1:52 am, "segis bata" <segisb...@hotmail.comwrote:
Hello all,

I have a page (located at mywebsite/a.asp) that redirects to another page
(theirwebsite/b.asp) located in other server. This other page probably will
redirect to another link again (othersite/c.asp) and finally display the web
page I want the user to see (finalwebsite/d.asp)

What I want to do is, once they click the link (b.asp) located in the a.asp
webpage, to load a "please wait" type of page, like Expedia does while
looking for information; and that "please wait" page should appear until the
redirection process gets to the final page (d.asp)

Since all the pages (after a.asp) are located outside our server (and we
can't access the code in those pages), how can I do that?!? Please be as
detailed as possible or point me where I can find info about how to do this.

Currently we're using ASP 3.0 running on a Win2003 SP1 server machine

Thanks in advance,
SB-R

Apr 14 '07 #2
Hello Michal,

Thanks for your response but I'm not familiar with AJAX and there isn't any
examples of how to do what I want to do; is there any other alternative?
(using VBScript or JavaScript) or a URL where I can see examples on how to
do this task?

Thanks in advance,
SB-R

"michal" <mg****@gmail.comwrote in message
news:11**********************@o5g2000hsb.googlegro ups.com...
you should take a look at asynchronous javascript calls ... i would
suggest you download the prototypejs.org framework and solve this with
an ajax-request...
here is a nice tutorial:
http://www.prototypejs.org/learn/introduction-to-ajax

On Apr 14, 1:52 am, "segis bata" <segisb...@hotmail.comwrote:
>Hello all,

I have a page (located at mywebsite/a.asp) that redirects to another page
(theirwebsite/b.asp) located in other server. This other page probably
will
redirect to another link again (othersite/c.asp) and finally display the
web
page I want the user to see (finalwebsite/d.asp)

What I want to do is, once they click the link (b.asp) located in the
a.asp
webpage, to load a "please wait" type of page, like Expedia does while
looking for information; and that "please wait" page should appear until
the
redirection process gets to the final page (d.asp)

Since all the pages (after a.asp) are located outside our server (and we
can't access the code in those pages), how can I do that?!? Please be as
detailed as possible or point me where I can find info about how to do
this.

Currently we're using ASP 3.0 running on a Win2003 SP1 server machine

Thanks in advance,
SB-R

Apr 14 '07 #3

"segis bata" <se*******@hotmail.comwrote in message
news:O7**************@TK2MSFTNGP05.phx.gbl...
Hello all,

I have a page (located at mywebsite/a.asp) that redirects to another page
(theirwebsite/b.asp) located in other server. This other page probably
will
redirect to another link again (othersite/c.asp) and finally display the
web
page I want the user to see (finalwebsite/d.asp)

What I want to do is, once they click the link (b.asp) located in the
a.asp
webpage, to load a "please wait" type of page, like Expedia does while
looking for information; and that "please wait" page should appear until
the
redirection process gets to the final page (d.asp)

Since all the pages (after a.asp) are located outside our server (and we
can't access the code in those pages), how can I do that?!? Please be as
detailed as possible or point me where I can find info about how to do
this.
>
Currently we're using ASP 3.0 running on a Win2003 SP1 server machine

Thanks in advance,
SB-R

'mywebsite/externallink.asp
<html>
<head>
<meta http-equiv="refresh"
content="1;<%=Server.HTMLEncode(Request.QueryStrin g("url"))%>" />
</head>
<body>
Please wait while you are redirected ....
</body>
</html>

Change links to external sites from

http://theirwebsite/b.asp

to

/externallink.asp?url=<%Server.URLEncode("http://theirwebsite/b.asp")%>


Apr 15 '07 #4
yeah redirect is also possible but you have no chance to show the
loading progress ...
ajax is not difficult .. if you are familiar with javascript its not
a big deal ...
check this http://www.prototypejs.org/api/ajax/request
thats exactly what you need...

On Apr 15, 4:25 pm, "Anthony Jones" <A...@yadayadayada.comwrote:
"segis bata" <segisb...@hotmail.comwrote in message

news:O7**************@TK2MSFTNGP05.phx.gbl...


Hello all,
I have a page (located at mywebsite/a.asp) that redirects to another page
(theirwebsite/b.asp) located in other server. This other page probably
will
redirect to another link again (othersite/c.asp) and finally display the
web
page I want the user to see (finalwebsite/d.asp)
What I want to do is, once they click the link (b.asp) located in the
a.asp
webpage, to load a "please wait" type of page, like Expedia does while
looking for information; and that "please wait" page should appear until
the
redirection process gets to the final page (d.asp)
Since all the pages (after a.asp) are located outside our server (and we
can't access the code in those pages), how can I do that?!? Please be as
detailed as possible or point me where I can find info about how to do
this.
Currently we're using ASP 3.0 running on a Win2003 SP1 server machine
Thanks in advance,
SB-R

'mywebsite/externallink.asp
<html>
<head>
<meta http-equiv="refresh"
content="1;<%=Server.HTMLEncode(Request.QueryStrin g("url"))%>" />
</head>
<body>
Please wait while you are redirected ....
</body>
</html>

Change links to external sites from

http://theirwebsite/b.asp

to

/externallink.asp?url=<%Server.URLEncode("http://theirwebsite/b.asp")%>- Hide quoted text -

- Show quoted text -

Apr 17 '07 #5

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

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an...
4
by: Sarir Khamsi | last post by:
Is there a way to get help the way you get it from the Python interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the module cmd.Cmd?...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have...
3
by: Colin J. Williams | last post by:
Python advertises some basic service: C:\Python24>python Python 2.4.1 (#65, Mar 30 2005, 09:13:57) on win32 Type "help", "copyright",...
7
by: Corepaul | last post by:
Missing Help Files When I enter "recordset" as the keyword and search the Visual Basic Help index, I get many topics of interest in the resulting...
5
by: Steve | last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp My expectation is that a developer using my DLL would be able to...
8
by: Mark | last post by:
I have loaded Visual Studio .net on my home computer and my laptop, but my home computer has an abbreviated help screen not 2% of the help on my...
10
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that...
1
by: trunxnirvana007 | last post by:
'UPGRADE_WARNING: Array has a new behavior. Click for more:...
0
by: hitencontractor | last post by:
I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003. I added a menu item called "MyApp Help" in the end of the menu...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

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.