Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old April 14th, 2007, 12:55 AM
segis bata
Guest
 
Posts: n/a
Default 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


  #2  
Old April 14th, 2007, 11:25 AM
michal
Guest
 
Posts: n/a
Default Re: HELP! -- Redirection question

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:
Quote:
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

  #3  
Old April 14th, 2007, 11:55 PM
segis bata
Guest
 
Posts: n/a
Default Re: HELP! -- Redirection question

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" <mgabru@gmail.comwrote in message
news:1176546227.730337.192400@o5g2000hsb.googlegro ups.com...
Quote:
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:
Quote:
>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

  #4  
Old April 15th, 2007, 03:35 PM
Anthony Jones
Guest
 
Posts: n/a
Default Re: HELP! -- Redirection question


"segis bata" <segisbata@hotmail.comwrote in message
news:O7BepaifHHA.1388@TK2MSFTNGP05.phx.gbl...
Quote:
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
Quote:
redirect to another link again (othersite/c.asp) and finally display the
web
Quote:
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
Quote:
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
Quote:
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.
Quote:
>
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")%>




  #5  
Old April 17th, 2007, 08:15 AM
michal
Guest
 
Posts: n/a
Default Re: HELP! -- Redirection question

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:
Quote:
"segis bata" <segisb...@hotmail.comwrote in message
>
news:O7BepaifHHA.1388@TK2MSFTNGP05.phx.gbl...
>
>
>
>
>
Quote:
Hello all,
>
Quote:
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
Quote:
redirect to another link again (othersite/c.asp) and finally display the
web
Quote:
page I want the user to see (finalwebsite/d.asp)
>
Quote:
What I want to do is, once they click the link (b.asp) located in the
a.asp
Quote:
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
Quote:
redirection process gets to the final page (d.asp)
>
Quote:
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.
>
Quote:
Currently we're using ASP 3.0 running on a Win2003 SP1 server machine
>
Quote:
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 -

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles