本文介绍了表单数据丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 当我将表单提交到asp页面时,request.form没有获得 数据。这只发生在我的IIS本地副本上,而不是我的网络主机上。 这是一个简单的request.form,所以我知道这不是编码问题。 这些页面都可以正常加载并完美地访问MSAccess数据库。但是,当我向另一个asp页面提交一个表格 (甚至登录表格)时, 目标没有收到 目标的数据页面。 为什么会在本地而不是在互联网服务器上发生?是否有一些 安全设置导致此问题?我有运行IIS 6的Windows XP Pro SP2。 谢谢, DominicWhen I submit a form to an asp page, the request.form is not getting thedata. 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 thetarget page.Why would this happen locally and not on the internet server? Is somesecurity 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. Youneed to go into IIS Manager and turn it on: http://www.aspfaq.com/show.asp?id=2147--Microsoft MVP -- ASP/ASP.NETPlease reply to the newsgroup. The email account listed in my Fromheader is my spam trap, so I don''t check it very often. You will get aquicker response by posting to the newsgroup. 然而,当我将表单(甚至是登录表单)提交到另一个asp页面时, However, 这篇关于表单数据丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-03 00:26