URL, Getting the url using asp 
Author Message
 URL, Getting the url using asp

Hi

I want  to get the URL using asp and pass it on to a other page.

Example.
http://www.*-*-*.com/
then create.asp should pass on this url like this
http://www.*-*-*.com/ ://www.somedomain.com/u...

I hope some can help

Kind regards
 Coenie Richards



Wed, 14 Nov 2001 03:00:00 GMT  
 URL, Getting the url using asp
Coenie,

Try:

http://www.somedomain.com/user/no.asp?" &
erver.URLEncode( Request.ServerVariables( "HTTP_REFERER" ) )

Nic Roche
Net Extra
www.extra.net.au


Quote:
>Hi

>I want  to get the URL using asp and pass it on to a other page.

>Example.
>http://www.somedomain.com/user/create.asp?action=create&ask=no
>then create.asp should pass on this url like this
>http://www.somedomain.com/user/no.asp?url=http://www.somedomain.com/u...

eate.asp?action=create&ask=no
Quote:

>I hope some can help

>Kind regards
> Coenie Richards



Wed, 14 Nov 2001 03:00:00 GMT  
 URL, Getting the url using asp
Thanks.

One more thing the url result wich I am getting i can not use to
redirect with any idea how I can decode the url and the redirect?

Quote:

> Coenie,

> Try:

> http://www.somedomain.com/user/no.asp?" &
> erver.URLEncode( Request.ServerVariables( "HTTP_REFERER" ) )

> Nic Roche
> Net Extra
> www.extra.net.au



> >Hi

> >I want  to get the URL using asp and pass it on to a other page.

> >Example.
> >http://www.somedomain.com/user/create.asp?action=create&ask=no
> >then create.asp should pass on this url like this
> >http://www.somedomain.com/user/no.asp?url=http://www.somedomain.com/u...
> eate.asp?action=create&ask=no

> >I hope some can help

> >Kind regards
> > Coenie Richards



Fri, 16 Nov 2001 03:00:00 GMT  
 URL, Getting the url using asp
On Mon, 31 May 1999 08:58:43 +0200, Coenie Richards
You need also to have the QueryString

There I made a redirection from www.ancient_site.com to
www.new_site.com with the same query.
basically the site is the same, but we want to change the DNS  because
users must forget the ancient.

 <%
Dim hostage, dirpath, query
hostage=Lcase(Request.ServerVariables("SERVER_NAME"))
dirpath=Request.ServerVariables("PATH_INFO")
query=Request.ServerVariables("QUERY_STRING")
        if query<>"" then
                query="?"&query
        end if
if hostage="www.ancient_site.com" then
        Response.redirect"http://www.new_site.com"&dirpath&query

end if
End if

 %>

Quote:
>Thanks.

>One more thing the url result wich I am getting i can not use to
>redirect with any idea how I can decode the url and the redirect?


>> Coenie,

>> Try:

>> http://www.somedomain.com/user/no.asp?" &
>> erver.URLEncode( Request.ServerVariables( "HTTP_REFERER" ) )

>> Nic Roche
>> Net Extra
>> www.extra.net.au



>> >Hi

>> >I want  to get the URL using asp and pass it on to a other page.

>> >Example.
>> >http://www.somedomain.com/user/create.asp?action=create&ask=no
>> >then create.asp should pass on this url like this
>> >http://www.somedomain.com/user/no.asp?url=http://www.somedomain.com/u...
>> eate.asp?action=create&ask=no

>> >I hope some can help

>> >Kind regards
>> > Coenie Richards



Sat, 17 Nov 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Invalid URL form or fully-qualified absolute URL was used

2. How to keep web database from getting reverse-engineered using url parameters

3. How to keep web database from getting reverse-engineered using url parameters

4. url encoding ASP vs ASP.net

5. Using location.replace(url) to re-direct to an asp page on a different server

6. Using server side ASP to capture and parse HTML pages from any URL

7. Navigate an URL and get URL result in COM object

8. Bookmarked URL Works, Saved URL String Doesn't

9. Extract URL Links from Page, Navigate to these URL's and Extract E-Mail

10. Finding URL from a .url file

11. how to use url.Encode for NS problem w/ params in URL

12. WSH that makes a url file Makes BlueDragon.url

 

 
Powered by phpBB® Forum Software