Why is the progress bar there ?

P

PW

I have an ASP which is a form (get), and whenever I run it, even though its
just sitting there waiting for input, the progress bar at the bottom of the
page starts slowly climbing up. Why is it doing that ?

TIA,
PW
 
E

Evertjan.

PW wrote on 10 jun 2006 in microsoft.public.inetserver.asp.general:
I have an ASP which is a form (get), and whenever I run it, even
though its just sitting there waiting for input, the progress bar at
the bottom of the page starts slowly climbing up. Why is it doing
that ?

"an ASP" ?

ASP is a serverside platform for coding in computer languages
like vbs or js and doesn't even know browsers exist.

You will have to ask in a clientside NG.
 
M

Mike Brind

Evertjan. said:
PW wrote on 10 jun 2006 in microsoft.public.inetserver.asp.general:


"an ASP" ?

Yeah - an Active Server Page :)
ASP is a serverside platform for coding in computer languages
like vbs or js and doesn't even know browsers exist.

You will have to ask in a clientside NG.

OTOH, he may have Response.Buffer = False or a Response.Flush and some
asp code still running in a loop. Without showing us any code, it's
all a guess at the moment.
 
P

PW

Heres the whole page ... TIA, PW.




<!-- #include file=aaa_Settings.asp -->

<html>
<head>
<script language="JavaScript" src="scripts\datetimepicker.js"></script>
</head>

<body bgcolor="<%=Session("SystemColourBgStd")%>">

<!-- #include file=aaa_Heading.asp -->

<b>Enter the full details, then press the Ok button</b>
<p>

<form ID="myform" NAME="myform" method="GET" action="AddTask2.asp">

<table width=100% bgcolor="<%=Session("SystemColourBgStd")%>"
style="font-size:<%=Session("SystemFontSizeStd")%>;color:<%=Session("SystemFontColourStd")%>;font-family:<%=Session("SystemFontFaceStd")%>">

<tr>
<td>
<b>
Date:
</b>
</td>
<td>
<%
myDate = day(Date()) & "-" & month(Date()) & "-" & year(Date())
%>
<input type="Text" id="txtDateFrom" name="txtCommDate"
value="<%=myDate%>" maxlength="10" size="10"><a
href="javascript:NewCal('txtDateFrom','ddmmyyyy',false,24)"><img
src="treeview/treeicons/icons/ocalendar.gif" border="0" alt="Pick a
date"></a>
</td>
</tr>

<tr>
<td>
<b>
<%
if Session("SystemActivity1") = "" then
response.write "Activity 1:"
else
response.write Session("SystemActivity1") & ":"
end if
%>
</b>
</td>
<td>
<%
mySQL = "Select Activity from Activity1 where ActiveFlag = TRUE order
by Activity"
rs5.open mySQL,myDSN
%>
<select name="lbActivity1" size="1">
<option></option>
<%
Do While Not rs5.EOF
response.write "<option>"
response.write rs5("Activity")
response.write "</option>"
rs5.MoveNext
Loop
%>
</select>
<%
rs5.Close
Set rs5 = Nothing
%>
</td>
</tr>

<tr>
<td>
<b>
<%
if Session("SystemActivity2") = "" then
response.write "Activity 2:"
else
response.write Session("SystemActivity2") & ":"
end if
%>
</b>
</td>
<td>
<%
mySQL = "Select Activity from Activity2 where ActiveFlag = TRUE order
by Activity"
rs3.open mySQL,myDSN
%>
<select name="lbActivity2" size="1">
<option></option>
<%
Do While Not rs3.EOF
response.write "<option>"
response.write rs3("Activity")
response.write "</option>"
rs3.MoveNext
Loop
%>
</select>
<%
rs3.Close
Set rs3 = Nothing
%>
</td>
</tr>

<tr>
<td>
<b>
<%
if Session("SystemActivity3") = "" then
response.write "Activity 3:"
else
response.write Session("SystemActivity3") & ":"
end if
%>
</b>
</td>
<td>
<%
mySQL = "Select Activity from Activity3 where ActiveFlag = TRUE order
by Activity"
rs2.open mySQL,myDSN
%>
<select name="lbActivity3" size="1">
<option></option>
<%
Do While Not rs2.EOF
response.write "<option>"
response.write rs2("Activity")
response.write "</option>"
rs2.MoveNext
Loop
%>
</select>
<%
rs2.Close
Set rs2 = Nothing
%>
</td>
</tr>

<tr>
<td>
<b>
<%
if Session("SystemActivity4") = "" then
response.write "Activity 4:"
else
response.write Session("SystemActivity4") & ":"
end if
%>
</b>
</td>
<td>
<%
mySQL = "Select Activity from Activity4 where ActiveFlag = TRUE order
by Activity"
rs6.open mySQL,myDSN
%>
<select name="lbActivity4" size="1">
<option></option>
<%
Do While Not rs6.EOF
response.write "<option>"
response.write rs6("Activity")
response.write "</option>"
rs6.MoveNext
Loop
response.write "</select>"
rs6.Close
Set rs6 = Nothing
%>
</td>
</tr>

<tr>
<td>
<b>
Hours:
</b>
</td>
<td>
<input type=text name="txtHours" size=10>
</td>
</tr>

<tr>
<td valign=top>
<b>
Description:
</b>
</td>
<td>
<textarea rows="5" cols="50" Name="txtDescription"></textarea>
</td>
</tr>

</table>

<!-- #include file=inc_Buttons.asp -->

</form>

</body>
</html>
 
M

Mike Brind

PW said:
Heres the whole page ... TIA, PW.

<!-- #include file=aaa_Settings.asp -->

<html>
<head>
<script language="JavaScript" src="scripts\datetimepicker.js"></script>
</head>

You need to start tasking things out one by one to see what causes it.
I'd start with the javascript, myself.
 
M

Mohammed Igbal

Hi,

I also face the same problem.

I tried with different ways but no use.

1. Set Nothing for opened objects.
2. Use Response.Flush
3. Set Response.Buffer = True.

If any one help on this, it would be grateful to you.
 
M

Mike Brind

And you leave us with the same problem. No code to look at to even
begin to be able to help you....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top