Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: One more POST Problem
User81

From: Chicago, IL USA
Posts: 26
Member Since: 04/03/01
posted April 4, 2002 4:51 PM

When I do a form submit using the form at the following URL:

http://wwwheels.com/cfapps/search.cfm?custid=50419&backcolor=

The results page comes back with a Cold Fusion error. The page works correctly with my visual browser but not with the system I am developing using the Dart Web Tool.
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 4, 2002 6:09 PM

Hi,
What does your PostString look like? Is it something like the following?
carLowPrice_range=MIN%3D1+MAX%3D500000&carHighPrice_range=MIN%3D1+MAX%3D500000&carLowMileage_range=MIN%3D1+MAX%3D500000&carHighMileage_range=MIN%3D1+MAX%3D500000&YearBegin=1993&YearEnd=2002&Make=&Model=---+All+Models+---&ExteriorColor=&PriceLow=0&PriceHigh=no+limit&custlist=50419&custid=50419&MinYear=1993&MaxYear=2002&SqlStatement=&cfreferrer=

Thanks,
-ken

K M Drake
Dart Tech Support
User81

From: Chicago, IL USA
Posts: 26
Member Since: 04/03/01
posted April 5, 2002 12:25 PM

Thank you again for your help! There were a couple of problems with my post string. First of all, the = signs for the SQL text being passed, as opposed to the ones that were part of the actual POST query, had to be encoded as %3D to avoid confusion. Also, spaces need to be changed to + signs. Lastly, this particular form had several drop-down boxes. In these drop-down boxes, no default value was present. A standard web browser just sets these boxes to the first position, and sends that value down with the query for each drop-down box. My code was not automatically setting these drop-down values up, so I had to do it manually. Everything works OK now.
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX