Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language:
Expertise: Beginner
Sep 11, 2000

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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date