473,387 Members | 1,678 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,387 software developers and data experts.

Form post not passing data to ASP???

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>

Jan 29 '06 #1
2 1925
MK wrote:
I have IIS server installed on XP-pro. I also have Norton Internet
Security installed.


Please don't multipost.

If you really think your post needs input from two groups (in this case, it
most certainly did not - your question had nothing to do with databases so
it was definitely offtopic in the .asp.db group) then crosspost instead by
putting the addresses of both groups into the To: field of a single message.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jan 29 '06 #2
Maybe a caching problem; try adding the time to make sure that the page is
refreshed.

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: http://cerbermail.com/?QugbLEWINF
"MK" <us*****@yahoo.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
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>

Jan 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: TG | last post by:
Dear PHP Group, I have two forms that are used to collect user information. The first one takes user inputted values such as fullname, city, address etc. I want these values to display in the...
10
by: Noozer | last post by:
Below is some ASP, HTML and javascript. It is part of a page used to maintain a small database. This code did work at one time, but has since stopped. For some reason the data on my form is not...
2
by: jponiato | last post by:
Greetings. An HTML form submits it's data to a python cgi script on my server. This script accepts this POST data, and uses urllib.urlopen() to call a different cgi script (on an external server),...
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...
15
by: http://www.visual-basic-data-mining.net/forum | last post by:
Does anyone have any idea how to transferring data from TextBox1 in form1 to textBox2 in form2..... That means after i fill in any data in textBox1 and click Next button... It will bring me to...
17
by: stathis gotsis | last post by:
Hello everyone, I am tying to come up with an elegant way to process some input data that come from a form. When the user hits the 'Submit' button, i want the form to appear again with the...
27
by: Chris | last post by:
Hi, I have a form for uploading documents and inserting the data into a mysql db. I would like to validate the form. I have tried a couple of Javascript form validation functions, but it...
5
by: apinti | last post by:
Here is my code, and the problem: $st="...(string to post is formed from different variables read from file)..."; $lngth=strlen($st); $ch = curl_init(); curl_setopt($ch,...
4
by: pbd22 | last post by:
hi. could somebody tell me, when uploading a file, i know the form where the upload component is must have enctype=multipart/form-data but, is the same true for the form with the server code to...
1
Fary4u
by: Fary4u | last post by:
Hi Guys i'm trying to upload a file, i've tried 3 different methods but still not work out i don't know how to over come this problem hidden file value, multiple form or popup uploading. 1-...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.