Jump to content

Request.form in windows server 2012 R2 with IIS 8.5


Recommended Posts

Hi,

 

In ASP classic, when I call "request.form", my application crashes.

 

I'm using Windows Server 2012 R2 with IIS 8.5.

 

But in Windows 7 with IIS 7.5, the same code works.

 

Here's my code

<html>
<head>

<%
 response.write(request.form("fname"))
 response.write(" " & request.form("lname"))
 %>
</head>
<body>

<form method="post" action="simpleform.asp">
 First Name: <input type="text" name="fname"><br>
 Last Name: <input type="text" name="lname"><br><br>
 <input type="submit" value="Submit">
</form>

</body>
</html>

Please help

 

thanks

 

 

 

 

 

 

 

 

 

 

 

 

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...