Form parameters sometimes not received

Posted on 2004-11-18
Last Modified: 2013-12-24
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

Question by:GeoffatAccent
    LVL 35

    Accepted Solution

    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:
    LVL 5

    Assisted Solution

    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

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now