Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hiding URL
Message
 
À
28/08/2006 12:17:33
Information générale
Forum:
Internet
Catégorie:
Active Server Page
Titre:
Divers
Thread ID:
01149066
Message ID:
01149152
Vues:
13
>Hi all,
>
>I am designing a page to let users to download a file from another web server. So when the user click the link on my web page, it will open/download the file from the link.
>
>I would like to know is there anyway to hide the URL of the location of the file? I wanted to force the users to come to my page to download/open the file instead of going to the File URL.
>
>Please advise, and thanks.
>
>regards,
>Kusnardi

In addition to Mark's suggestion - you can use a JavaScript HTTP request:
var oHTTP=new ActiveXObject("MSXML2.XMLHTTP");
/* HTTP GET Requests */
function GetServerHTTPResponse(aURL,boolAsync)
{
var ClearTheCache="thekey="+new Date().getTime().toString();
oHTTP.Open("GET",aURL+ClearTheCache,boolAsync);
oHTTP.Send();
return oHTTP.responseText;
You might also look at the "target" argument. You can use 'hidden' frame pages, also, to launch targeted URLs from.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform