Form post not passing data to ASP???
am 29.01.2006 16:01:34 von 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:
Guestbook Form
------------------------
Here is the ASP code:
Entry Select
<%
Response.Write (Request.Form("name1"))
%>
Re: Form post not passing data to ASP???
am 29.01.2006 16:37:35 von reb01501
MK wrote:
> I have IIS server installed on XP-pro. I also have Norton Internet
> Security installed.
First step: disable Norton and see if that solves the problem.
>
> 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...
I've never run into this, sorry.
>
> Here is the form code:
>
>
> Guestbook Form
>
>
>
>
>
> ------------------------
> Here is the ASP code:
Actually, technically speaking, this is a mixture of html and ASP code. You
do realize you can create a page containing simply:
<%
Response.Write Request.Form("name1")
%>
Notice that I've removed the parentheses from the argument. In vbscript, you
should not use parentheses when calling a sub or a function whose return
value you are not intending to use.
Bob Barrows
--
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"