IIS 5 & IIS 6
Form variables are not taken to ASP page.
Last post Sep 06, 2007 06:15 AM by hanspan
Jul 30, 2007 11:10 AM|webgurru|LINK
I am facing a very odd problem. I am using Windows Pro XP SP2 with IIS 5.1 and IE7 installed. When I try to submit a form (from localhost), variable values are not taken to the asp page. If I execute this to my domain (reside on external server) it works
100%. Code for both files test.html and abc.asp is attached.
Jul 31, 2007 09:10 AMemail@example.com|LINK
Have you cleared the browser cache? Stopped and restarted the site?
Jul 31, 2007 09:36 AM|webgurru|LINK
I did this many times, not only on one machine. I have this problem on 3 different machines.
Aug 03, 2007 03:30 AM|Zhao Ji Ma - MSFT|LINK
The code should work and it is simple to verify. My first guess is that you may have other test asp files, make sure the form action url is right. If this is not the case, how is Response.Write running, do it output correctly?
Aug 03, 2007 03:53 AM|webgurru|LINK
I tried everything. Response.Write works perfectly. I tried addition of 2 numbers, it works. I tried Request.QueryString, it works. Only Request.Form is not working.
Aug 20, 2007 10:13 PM|LindaFarrell|LINK
I have exactly the same problem - so frustrating! No one believes me. Have you been able to find a solution?
Aug 20, 2007 11:14 PM|qbernard|LINK
I can't repro. I got the same setup - XP Pro SP2, except I'm still running IE6.
Works perfectly in my box.
Aug 21, 2007 03:29 AM|webgurru|LINK
No luck. I just installed windows 2000 pro on the same machine to work on this project.
Aug 21, 2007 08:17 PM|LindaFarrell|LINK
Dear webgurru and Bernard
I solved the problem! Thank you Bernard, you directed me in the right direction. I downloaded Firefox and it worked. I then went back to IE7 and played around with my security settings and managed to get IE7 working!
Aug 21, 2007 10:58 PM|qbernard|LINK
Mmm.... what kind of IE setting ?
Aug 21, 2007 11:24 PM|LindaFarrell|LINK
The Security Settings for Local Internet (in IE7). I changed all the options that were set to 'disable' to either 'enable' or 'prompt'. Sorry, not sure which one did the trick.
Aug 22, 2007 02:40 AM|qbernard|LINK
Ouch... hahahaha.. I will check the IE 7 settings on other machine later.
Sep 06, 2007 06:15 AM|hanspan|LINK
I have been experiencing the exact same problem but with PHP. I have found that restoring the default settings on the advanced tab and then a close and re-open of the browser seems to solve the problem. However, I never changed anything in the advanced tab
in the first place.... It has also been happening more and more frequently. A final fix for this would be fantastic so if anyone knows which setting do actually need to be changed I would really really grateful!