why won't this TCPConnect/Send work?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60614
interpreted = N
texte = IF you go here: http://oprs.co.monmouth.nj.us/Oprs/taxboard/HeadFrame.aspx?idx=mod you'll see a form inside a frame. I took the elements of the form and created a TCPconnect/send combo that is supposed to mimic a browser submitting the filled in form. The code is below. What I get back from the server is not the page I expect. Any thoughts?
in GetBlock
[!] ---------- Define Host and Page ---------- [/!] [text show=f]host=tax1.co.monmouth.nj.us[/text] [text show=f]page=/cgi-bin/prc6.cgi[/text] [text show=f]crlf=[UnURL]%0D%0A[/UnURL][/text] [!] [text show=f&secure=f]transid=EV[/text] [text show=f&secure=f]p_des=[/text] [text show=f&secure=f]p_cust_id=[/text] [text show=f&secure=f]p_invoicenum=[/text] [/!] [text show=f]post_data=menu=srch&[!] [/!]srch_type=1&[!] [/!]selcount=1301&[!] [/!]district=1304&[!] [/!]p_loc=[url]1210 second ave[/url][!] [/!]adv=1&[!] [/!]out_type=1& [/text] [!]
postdata=[post_data]
[/!] [!] ---------- Run The Connect ---------- [/!] [text show=f]response=[TCPConnect host=[host]&port=80&SSL=F] [TCPSend]POST [page] HTTP/1.1[crlf][!] [/!]Host: [host]:80[crlf][!] [/!]Referer: oprs.co.monmouth.nj.us[crlf][!] [/!]Content-length: [countchars][post_data][/countchars][crlf][crlf][!] [/!][post_data][crlf][!] [/!][UnURL]%0D%0A%0D%0A[/unurl][/TCPSend] [/TCPConnect][/text]
response=[response]
------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: why won't this TCPConnect/Send work? ( Joe D'Andrea 2004)
  2. Re: why won't this TCPConnect/Send work? ( John Hill 2004)
  3. why won't this TCPConnect/Send work? ( Joe D'Andrea 2004)
  4. why won't this TCPConnect/Send work? ( Joe D'Andrea 2004)
IF you go here: http://oprs.co.monmouth.nj.us/Oprs/taxboard/HeadFrame.aspx?idx=mod you'll see a form inside a frame. I took the elements of the form and created a TCPconnect/send combo that is supposed to mimic a browser submitting the filled in form. The code is below. What I get back from the server is not the page I expect. Any thoughts?
in GetBlock
[!] ---------- Define Host and Page ---------- [/!] [text show=f]host=tax1.co.monmouth.nj.us[/text] [text show=f]page=/cgi-bin/prc6.cgi[/text] [text show=f]crlf=[unurl]%0D%0A[/UnURL][/text] [!] [text show=f&secure=f]transid=EV[/text] [text show=f&secure=f]p_des=[/text] [text show=f&secure=f]p_cust_id=[/text] [text show=f&secure=f]p_invoicenum=[/text] [/!] [text show=f]post_data=menu=srch&[!] [/!]srch_type=1&[!] [/!]selcount=1301&[!] [/!]district=1304&[!] [/!]p_loc=[url]1210 second ave[/url][!] [/!]adv=1&[!] [/!]out_type=1& [/text] [!]
postdata=[post_data]
[/!] [!] ---------- Run The Connect ---------- [/!] [text show=f]response=[TCPConnect host=[host]&port=80&SSL=F] [tcpsend]POST [page] HTTP/1.1[crlf][!] [/!]Host: [host]:80[crlf][!] [/!]Referer: oprs.co.monmouth.nj.us[crlf][!] [/!]Content-length: [countchars][post_data][/countchars][crlf][crlf][!] [/!][post_data][crlf][!] [/!][unurl]%0D%0A%0D%0A[/unurl][/TCPSend] [/TCPConnect][/text]
response=[response]
------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Joe D'Andrea

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Date problems (1997) WC2.0 Memory Requirements (1997) WebStar Compatibility (thx) (2003) Looking for a host (1997) Pithy questions on webcommerce & siteedit (1997) [createfolder] & [deletefolder] (1997) Writing to PDF (2003) ooops...WebCatalog [FoundItems] Problem - LONG - (1997) RAM problems, [appendfile] problems (1998) [WebDNA] [WSC] WebDNA Development Summit (2014) [WebDNA] Failed to aquire lock on database - Possible deadlock averted (2011) IOD | WAS:[Show items based on login Password] (2003) Secure Server (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Getting total number of items ordered (1997) Running _every_ page through WebCat ? (1997) Single Link browsing (1997) Re:Formulas.db / Quantity Discount problem (1998) [append] (1997) Bug or syntax error on my part? (1997)