Form Variable Problem with Web Clipping App

Question:
In my Web clipping app, I have a form like this:

When I submit the form the query string looks like this:

myserver.com/results.cgi?var1=xyz&var2&var3=abc

The problem is if a form variable is not set, the variable is passed without a “=” in the query string. This is mandatory for app servers like ColdFusion. Do you know of any workarounds or solutions?

Answer:
The way I would work around this is to set the variable to something like “ZZZZZZ” and then programmatically reset the variable within the CGI form.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: