Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple requests to server while asp script is running

Status
Not open for further replies.

Aviator9

Programmer
Oct 20, 2009
8
US
Good day,

If I could trouble someone to explain to me how to solve my basic query:

I have an asp/vbscript page running a rather large script. It may take up to 30 secs to load. I'm working on cutting it down. However, during the time it runs, no other request to the server will be executed. It's like a queue.

I've been playing around with response.buffer but that doesn't seem to be the solution.

Can someone please help?

Here are the test pages I use:

PAGE1.asp
<%
response.Buffer=false

function tester()

Dim PauseTime, Start

PauseTime = 8 'Set Duration
Start = Timer 'Set start time

Do While Timer < Start + PauseTime
'nothing happening
Loop

response.Write("done")

end function
%>
------------------------
PAGE2.asp
<%
response.buffer=false
response.write("hello world")
%>


Thanks,
Al
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top