Form parameters sometimes not received

I am using Coldfusion 6.1 on an Apache server, but I have also seen the problem happen with Coldfusion 5.0 under IIS.

Passing a bunch of form parameters from one template to another (in this case including some WDDX packets and in a secure environment) - occassionaly, say one in ten times, the receiving template states that a form variable is undefined, and on inspection, no form parameters are defined. Refreshing the page, or going back and resubmitting the form, normally sorts the problem out and they come through fine. The problem is not affected by the contents of the form variables - you can use exactly the same inputs - most of the time they get through, sometimes they don't. The problem only seems to occur from some client machines, but I haven't been able to pin-down a commonality between machines yet.

The problem seems to occur more if there are a lot of form variables and it may be affected by being on a secure server - but it is annoyingly inconsistent. It only happens on some servers - same code works fine elsewhere. Maybe the broswer/OS/firewall is having some effect?

I know I can trap the problem by using IsDefined() but I can't automatically reload without the browser throwing a warning dialogue or by jumping the user back to the form and asking them to hit submit again (neither of which inspire confidence in a secure checkout).

I am an experienced Coldfusion programmer and have eliminated all other possible programming errors - this is definately an inconsistent bug.

Is this a known bug? Is there a known fix?

Thanks in advance

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Honestly it sounds like you have done a lot of troubleshooting and that at this point you may want to pose this question directly to Macromedia for a definitive answer.

I am not sure of anything else to tell you as I have not seen this happen...

There is a way to report bugs:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
you might want to consider doing client side validation in all the form fields..

like you said,.. instead of just checking if its defined.... check if the values do exist.... via javascript
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.