Re: [WebDNA] TCPConnect assist

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112925
interpreted = N
texte = 512 Try putting a Host parameter inside the tcpsend context. It doesn't matter that host is specified in the tcpconnect tag because it is frequently required as a parameter in the tcpsend context, too. This always works for me: [text]host=www.paypal.com[/text] [text]path=/cgi-bin/webscr[/text] [text]n=[unurl]%0D%0A[/unurl][/text] [text]content=... name=value pairs go here ...[/text] [tcpconnect host=[host]&port=443&ssl=T] [tcpsend skipheader=T]POST [path] HTTP/1.0[n][!] [/!]Host: [host][n][!] [/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[n][!] [/!]Content-Type: text/namevalue[n][!] [/!]Content-Length: [countchars][content][/countchars][n][n][!] [/!][content][n][!] [/!][/tcpsend] [/tcpconnect] This has been the required syntax for years (for most servers). If it's not mentioned in the docs it should be. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  2. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  3. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  4. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  5. Re: [WebDNA] TCPConnect assist (Christer Olsson 2016)
  6. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  7. Re: [WebDNA] TCPConnect assist (Kenneth Grome 2016)
  8. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  9. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  10. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  11. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  12. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  13. Re: [WebDNA] TCPConnect assist (Patrick McCormick 2016)
  14. Re: [WebDNA] TCPConnect assist (Stuart Tremain 2016)
  15. [WebDNA] TCPConnect assist (Patrick McCormick 2016)
512 Try putting a Host parameter inside the tcpsend context. It doesn't matter that host is specified in the tcpconnect tag because it is frequently required as a parameter in the tcpsend context, too. This always works for me: [text]host=www.paypal.com[/text] [text]path=/cgi-bin/webscr[/text] [text]n=[unurl]%0D%0A[/unurl][/text] [text]content=... name=value pairs go here ...[/text] [tcpconnect host=[host]&port=443&ssl=T] [tcpsend skipheader=T]POST [path] HTTP/1.0[n][!] [/!]Host: [host][n][!] [/!]User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)[n][!] [/!]Content-Type: text/namevalue[n][!] [/!]Content-Length: [countchars][content][/countchars][n][n][!] [/!][content][n][!] [/!][/tcpsend] [/tcpconnect] This has been the required syntax for years (for most servers). If it's not mentioned in the docs it should be. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Kenneth Grome

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:

sorting [listwords] feature request (2000) Looking up two prices in database? (1997) Bug? (1997) Bad creator codes which cause access denied error message (1997) Banners (1997) Searching for all records (1998) form data submission gets truncated (1997) WebDNA Video Poker (was ...dice result) (2007) Multiple Merchant Accounts? (1997) F2 to F3 rocky transition (1997) Sort Order on a page search (1997) Country & Ship-to address & other fields ? (1997) New WebMerchant/Mac beta available (1997) [WebDNA] WebDNA 6.2 and Mac OS X 10.5 Client / Server ? (2009) WebCatalog can't find database (1997) SSL and Webcat Authentication with IIS 5.0 on Win2K box (2000) using webcat with web* & web*SSL (1998) Rumpus & WebCat (1998) select multiple (1997) Bad suffix error (1997)