Ask a Question related to ASP Database, Design and Development.
-
Vic Sowers #21
Re: asp
My Code:
function GetWebPage(url) {
var retry, error,xmlhttp,numretrys=3;
for (retry=numretrys; retry; retry--) {
try {
xmlhttp = Server.CreateObject("Microsoft.XMLHTTP");
xmlhttp.Open("GET",url,false);
xmlhttp.Send();
break;
} catch (e) { error = e; }
}
if (!retry) throw new error(error.number,error.description);
return xmlhttp.responseText;
}
You can change 'Server.CreateObject' to 'new ActiveXObject' and use it in .hmtl files, too.
"YT" <ytNOSPAM@MAPSONfunkychickens.org> wrote in message news:%23c3pVVYoEHA.2948@TK2MSFTNGP11.phx.gbl...> greetings,
>
> what i am looking for is a way for my asp script to grab a web page via an
> http session and save the results to a string variable. ie. somewhere in the
> script, the code loads a com object or something or rather, builds a request
> URL, goes to the internet, downloads the result and parses out the returned
> text - not just display the result.
>
> are there any com objects out there (built-in or otherwise) that does that,
> or do i have to build my own?
>
> any suggestions?
>
> regards,
> yt
>
>
>Vic Sowers Guest
-
Barbwire1 #22
asp
Can anyone tell me if there is a limit to how many .asp pages you can have on one site please.:confused;
Thanks in advance
Barbwire:)
Barbwire1 Guest
-
Julian Roberts #23
Re: asp
There's no limit
--
Jules
[url]http://www.charon.co.uk/charoncart[/url]
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Julian Roberts Guest
-
CarlGrint #24
Re: asp
There would be no limit on the number of files, but you will have a space
limit, in Gigs or Megabytes...so your limit will be on the total size of all
your files.
Originally posted by: Barbwire1
Can anyone tell me if there is a limit to how many .asp pages you can have on
one site please.:confused;
Thanks in advance
Barbwire:)
CarlGrint Guest
-
noahh #25
asp
guys i have been looking for asp api reference all over this website for what
i could find this website does not give a damn to asp i could find anything
if any of you have please point me the direction
noahh Guest
-
-
Daniel Crichton #27
Re: asp
noahh wrote on Thu, 31 Jul 2008 13:37:00 -0700:
Did you even bother trying Google? And ASP is a language platform, not an> guys i have been looking for asp api reference all over this website
> for what i could find this website does not give a damn to asp i could
> find anything if any of you have please point me the direction
API, so you won't find an "api reference". Here are a couple of places to
start
[url]http://msdn.microsoft.com/en-us/library/ms524796.aspx[/url]
[url]http://www.w3schools.com/asp/default.asp[/url]
--
Dan
Daniel Crichton Guest



Reply With Quote

