表单数据丢失 [英] form data missing

查看:71
本文介绍了表单数据丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将表单提交到asp页面时,request.form没有获得

数据。这只发生在我的IIS本地副本上,而不是我的网络主机上。

这是一个简单的request.form,所以我知道这不是编码问题。


这些页面都可以正常加载并完美地访问MSAccess数据库。但是,当我向另一个asp页面提交一个表格

(甚至登录表格)时,

目标没有收到

目标的数据页面。


为什么会在本地而不是在互联网服务器上发生?是否有一些

安全设置导致此问题?我有运行IIS 6的Windows XP Pro SP2。


谢谢,

Dominic

When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It''s a simple request.form, so I know it''s not a coding issue.

The pages all load fine and access the MSAccess database perfectly. However,
when I submit a form
(even the login form) to another asp page, the data is not received by the
target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic

推荐答案

Dominic Tocci写道:
Dominic Tocci wrote:
当我将表单提交到asp页面时,request.form没有获得数据。这只发生在我的IIS本地副本上,而不是在我的
Web主机上。这是一个简单的request.form,所以我知道它不是一个编码问题。

这些页面都可以很好地加载并完美地访问MSAccess数据库。
然而当我将表格
(甚至登录表格)提交到另一个asp页面时,目标页面不会收到数据。

为什么会在本地发生这种情况而不是在互联网服务器上?是否有一些
安全设置导致此问题?我有Windows XP Pro SP2运行IIS
6.

谢谢,
Dominic
When I submit a form to an asp page, the request.form is not getting
the data. This only happens on my local copy of IIS, and not on my
web host. It''s a simple request.form, so I know it''s not a coding
issue.

The pages all load fine and access the MSAccess database perfectly.
However, when I submit a form
(even the login form) to another asp page, the data is not received
by the target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS
6.

Thanks,
Dominic




此页运行:


test.asp

<%

Response.Write" test"

%>


如果没有,您需要注意IIS6中默认关闭ASP。你需要进入IIS管理器并打开它:
http://www.aspfaq.com/show.asp?id=2147

-

Microsoft MVP - - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。



Does this page run:

test.asp

<%
Response.Write "test"
%>

If not, you need to be aware that ASP is turned off by default in IIS6. You
need to go into IIS Manager and turn it on:
http://www.aspfaq.com/show.asp?id=2147
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


可能这个? http://support.microsoft.com/?id=308074


雷在工作


" Dominic Tocci" < NN *** @ toccionline.com>在消息中写道

news:jb ******************* @ twister.nyc.rr.com ...
Possibly this? http://support.microsoft.com/?id=308074

Ray at work

"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:jb*******************@twister.nyc.rr.com...
当我向asp页面提交表单时,request.form没有获得
数据。这只发生在我的IIS本地副本上,而不是我的网络主机上。
这是一个简单的request.form,所以我知道这不是编码问题。

这些页面都可以正常加载并完美地访问MSAccess数据库。
但是,当我将表格
(甚至登录表格)提交到另一个asp页面时,
目标页面不会收到数据。

为什么会这发生在本地而不是在互联网服务器上?是否有一些
安全设置导致此问题?我有运行IIS 6的Windows XP Pro SP2。

谢谢,
Dominic
When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It''s a simple request.form, so I know it''s not a coding issue.

The pages all load fine and access the MSAccess database perfectly. However, when I submit a form
(even the login form) to another asp page, the data is not received by the
target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic



谢谢,射线。不幸的是,这似乎不是原因。我没有使用

任何身份验证并且已经拥有IE6。我认为它可能是带有SP2的b / b
,因为我记得在安装它之前过去这个工作。

无论是那还是因为我最近修复了我的asp运行Aspnet_regiis.exe实用程序的.net映射



这些信息有帮助吗?


谢谢


" Ray Costanzo [MVP]" <我的第34号商业广告的名字>写在

消息新闻:ev ************** @ TK2MSFTNGP09.phx.gbl ...
Thanks, Ray. Unfortunately that doesn''t seem to be the cause. I''m not using
any authentication and already have IE6. I thought it might be something
with SP2, because I recall this working in the past before I installed it.
Either that or it could be because I recently fixed my asp.net mappings by
running the Aspnet_regiis.exe utility.

Does that information help?

Thanks

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:ev**************@TK2MSFTNGP09.phx.gbl...
可能这个? http://support.microsoft.com/?id=308074 < Ray />
Ray在工作中

Dominic Tocci < NN *** @ toccionline.com>在消息中写道
新闻:jb ******************* @ twister.nyc.rr.com ...
Possibly this? http://support.microsoft.com/?id=308074

Ray at work

"Dominic Tocci" <nn***@toccionline.com> wrote in message
news:jb*******************@twister.nyc.rr.com...
当我将表单提交到asp页面,request.form没有获取
数据。这只发生在我的IIS本地副本上,而不是我的网络主机上。
这是一个简单的request.form,所以我知道这不是编码问题。

这些页面都可以正常加载并完美访问MSAccess数据库。
When I submit a form to an asp page, the request.form is not getting the
data. This only happens on my local copy of IIS, and not on my web host.
It''s a simple request.form, so I know it''s not a coding issue.

The pages all load fine and access the MSAccess database perfectly.


然而,当我将表单
(甚至是登录表单)提交到另一个asp页面时,


However,


目标页面没有收到数据。

为什么会在本地而不是在互联网服务器上发生?是否有一些
安全设置导致此问题?我有运行IIS 6的Windows XP Pro SP2。

谢谢,
Dominic
when I submit a form
(even the login form) to another asp page, the data is not received by
the
target page.

Why would this happen locally and not on the internet server? Is some
security setting causing this? I have Windows XP Pro SP2 running IIS 6.

Thanks,
Dominic




这篇关于表单数据丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆