Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Form post not passing data to ASP???
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>


Report this thread to moderator Post Follow-up to this message
Old Post
MK
01-29-06 11:55 PM


Re: Form post not passing data to ASP???
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"



Report this thread to moderator Post Follow-up to this message
Old Post
Bob Barrows [MVP]
01-29-06 11:55 PM


Re: Form post not passing data to ASP???
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" <usracct@yahoo.com> wrote in message
news:1138544782.533458.72200@g49g2000cwa.googlegroups.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>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Sylvain Lafontaine
01-29-06 11:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:17 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.