in reply to CONTENT_TYPE environment variable sometimes empty when posting a form?
1. I removed the following meta tag in the head section:
<meta http-equiv="Expires" content="0">
2. I changed the form tag from
<form action="http://school.edu/cgi-bin/myscript.pl" method="POST">
to
<form action="http://www.school.edu/cgi-bin/myscript.pl" method="POST">
Because I do not have control over the Web server, I do not have a lot of chances to test different possibilities.
It's possible that the configuration of the Web server the URL without the "www" caused the problem or maybe the expiration tag was causing a problem with the browser.
This is very strange. There are 2 web pages and 1 of them always worked and the other worked but not always. Both had the expires meta tag and the one that was failing did not have "www" in the url.
Maybe someday they'll let me do a test to find out which one was the culprit. In the meantime, I'm staying away from the expires meta tag. It's not a good thing for the web page anyway.
Richard
|
|---|