Form post not passing data to ASP???

M

MK

I have IIS server installed on XP-pro. I also have Norton Internet
Security installed.

I can run simple ASP programs without any problem. But when I use forms
with post method and call an asp in action, it does not pass any data
to ASP.

Request.Form method on a form field does not return any value.

This code works on web hosting provider server, just does not work on
my workstation with my own IIS server. Any help would be appreciated...

Here is the form code:
<html>
<head>
<title>Guestbook Form</title>
</head>
<body>
<form name="form" method="post" action="seltest.asp">
Name: <input type="text" name="name1" maxlength="20">
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
------------------------
Here is the ASP code:
<html>
<head>
<title>Entry Select</title>
</head>
<body bgcolor="white" text="black">
<%
Response.Write (Request.Form("name1"))
%>
</body>
</html>
 

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

Top