Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > content fill asp page while it loads

Thread Tools

content fill asp page while it loads

the G
Posts: n/a
I've got an asp page which scans a range of IP addresses and printes the
response to screen.
I've tried loads of methods and ended up with using javascript innerHTML to
try and fill the content

What I'd like is the value to return instantly rather than wait until the
routine has completed and return ALL the results.
if i'm pinging a big range of addresses the page usually times out......
I thought if I could build the page dynamically, one result at a time, the
timeout error wouldn't happen - and users would see that something is
actually happening!!!

Part of the code:

for i = 0 to 1
aIP(i) = Split(aIP(i),".")
if Ubound(aIP) = 0 Then aIP(1) = aIP(0)
for i1 = aIP(0)(0) to aIP(1)(0)
for i2 = aIP(0)(1) to aIP(1)(1)
for i3 = aIP(0)(2) to aIP(1)(2)
for i4 = aIP(0)(3) to aIP(1)(3)
vstrHTML = "<p>" & IsConnectible(i1 & "." & i2 & "." & i3 & "." &
i4) & "</p>"
var strHTML = "<% =vstrHTML %>"
vResponses.innerHTML = strHTML

<% Next

Many Thanks to anyone that can help

Reply With Quote

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error: Only Content controls are allowed directly in a content page that contains Content controls. hazz ASP .Net 6 06-09-2010 01:54 PM
Display "Please Wait" message in IFRAME while remote page loads? John Kotuby ASP .Net 5 06-24-2008 05:07 PM
how to display timer while the page loads Javascript 0 07-07-2006 09:12 PM
Please Wait While Page Loads.... Jason . ASP General 3 08-25-2004 07:50 PM app, Unable to load dll!!, while same dll loads properly in Win form app NGM ASP .Net 0 11-06-2003 10:34 AM