Very slow form submitting on Localhost

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ramsesz
    New Member
    • Mar 2008
    • 1

    #1

    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='process Form.asp'>
    <input type='text' name='email' />
    <input type='submit' value='submit' />
    </form>


    The ASP VBscript Processform.asp looks like this:

    <%

    If Request.Form("e mail") <> "" 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!
  • jeffstl
    Recognized Expert Contributor
    • Feb 2008
    • 432

    #2
    Originally posted by Ramsesz
    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='process Form.asp'>
    <input type='text' name='email' />
    <input type='submit' value='submit' />
    </form>


    The ASP VBscript Processform.asp looks like this:

    <%

    If Request.Form("e mail") <> "" 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?

    Code:
    <%
    
    If Request.Form("email") <> "" Then
      Response.Write("your email has been submitted.")
    End If
    
    %>
    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.

    Comment

    Working...