473,322 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Very slow form submitting on Localhost

Hi all, I am new here (forgive me if I do not follow forum-rules which i am not yet familiar with).

I have a problem that bugs me quite some time now. I did not find any solutions on the net, so I hope you guys can help me out!

I have a very simple html form (for test purposes):

<form method='post' action='processForm.asp'>
<input type='text' name='email' />
<input type='submit' value='submit' />
</form>


The ASP VBscript Processform.asp looks like this:

<%

If Request.Form("email") <> "" Then
Response.Write("your email has been submitted.")
End If

%>

As you can see it is extremely simple. But when I click the submit button, it takes an VERY long time before the ASP page is executed (several minutes!)

I'm starting to think it has something to do with IIS on my localhost.

I run a IIS 5 on my localhost, which is a Windows XP machine. The browser I am using is IE7.

Is anyone familiar with this problem? I really hope someone can help me out!
Mar 9 '08 #1
1 2230
jeffstl
432 Expert 256MB
Hi all, I am new here (forgive me if I do not follow forum-rules which i am not yet familiar with).

I have a problem that bugs me quite some time now. I did not find any solutions on the net, so I hope you guys can help me out!

I have a very simple html form (for test purposes):

<form method='post' action='processForm.asp'>
<input type='text' name='email' />
<input type='submit' value='submit' />
</form>


The ASP VBscript Processform.asp looks like this:

<%

If Request.Form("email") <> "" Then
Response.Write("your email has been submitted.")
End If

%>

As you can see it is extremely simple. But when I click the submit button, it takes an VERY long time before the ASP page is executed (several minutes!)

I'm starting to think it has something to do with IIS on my localhost.

I run a IIS 5 on my localhost, which is a Windows XP machine. The browser I am using is IE7.

Is anyone familiar with this problem? I really hope someone can help me out!

What else goes in this code?

Expand|Select|Wrap|Line Numbers
  1. <%
  2.  
  3. If Request.Form("email") <> "" Then
  4.   Response.Write("your email has been submitted.")
  5. End If
  6.  
  7. %>
  8.  
Obviously you do something else with thier email they submit? Just curious since you stated the simplicity of this problem it might not be that simple if there are unnecessary loops in your code, or if your querys are not narrow enough and your working with a large database or something. Just some thoughts.

Other then that I would say to reset the IIS service on the server and restart it, see if that helps any.
Mar 11 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: dogu | last post by:
Noob alert. Code is below. File is saved as a .php. What I'm trying to do: User uses 'select' box drop down list to pick a value. Value ($site) is derived from a db query. This works fine....
2
by: Martin Fuzzey | last post by:
I am using xmlrpclib (based on httplib) in Python 2.3 on Mandrake Linux. When my client attempts to connect to a server using a "http://localhost:port" style URL there is a long delay before the...
5
by: Tyler Style | last post by:
Hullo - looking for a little advice here. I have a form on a page in one domain submitting to a cgi in another domain. Weirdly, on some Windows XP systems, a form on the page fails to submit/post...
7
by: Mark Waser | last post by:
Hi all, I'm trying to post multipart/form-data to a web page but seem to have run into a wall. I'm familiar with RFC 1867 and have done this before (with AOLServer and Tcl) but just can't seem...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.