Re: [WebDNA] TcpConnect Help

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106825
interpreted = N
texte = Sometimes you have to put the host in a header. Sincerely, Kenneth Grome > For the life of me I can see why I cant get this simple > form to work. > > > Here is the basic form delivered from the clients > marketing servcie.
method='post' > action='http://click.po155.com/OptIn.aspx?OptinFormID=2& > 26241823=4169' onsubmit='return validate2();'> > > > > > >
> state type='text' name='field6' />
Email Address name='UEmail'/>
valign="top" colspan="2"> name='submit' value='Submit'/>
>
> > The form works fine. > But when I try to convert this to a tcp submission I get > either a bad host or bad url. > > > [text]content=alex@mccombie.com&field6=ny[/text] > [text]server-response=[TCPconnect > host=click.po155.com][!] [/!][TCPsend]POST /OptIn.aspx > HTTP/1.1[unURL]%0D%0A[/unURL][!] [/!]USER-AGENT: > Mozilla/4.0 (compatible; MSIE 5.01; Windows NT > 5.0)[unURL]%0D%0A[/unURL][!] > [/!]Content-Type: text/xml; > charset=utf-8[unURL]%0D%0A[/unURL][!] > [/!]Content-Length: > [countChars][content][/countChars][unURL]%0D%0A[/unURL][! > ] [/!][unURL]%0D%0A[/unURL][!] > [/!][content][unURL]%0D%0A[/unURL][!] > [/!][/TCPSend][!] > [/!][/TCPconnect][/text] > > [server-response] > > Can anyone get this working or see something stupid I am > missing? > > Thanks > alex Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] TCPConnect Help (Steve Craig 2014)
  2. Re: [WebDNA] TCPConnect Help (Palle Bo Nielsen 2014)
  3. Re: [WebDNA] TCPConnect Help (Stuart Tremain 2014)
  4. Re: [WebDNA] TCPConnect Help (Steve Craig 2014)
  5. Re: [WebDNA] TCPConnect Help (Stuart Tremain 2014)
  6. [WebDNA] TCPConnect Help (Steve Craig 2014)
  7. Re: [WebDNA] TcpConnect Help (Aaron Michael Kaczmarek 2011)
  8. Re: [WebDNA] TcpConnect Help (Kenneth Grome 2011)
  9. [WebDNA] TcpConnect Help (Alex McCombie 2011)
Sometimes you have to put the host in a header. Sincerely, Kenneth Grome > For the life of me I can see why I cant get this simple > form to work. > > > Here is the basic form delivered from the clients > marketing servcie.
method='post' > action='http://click.po155.com/OptIn.aspx?OptinFormID=2& > 26241823=4169' onsubmit='return validate2();'> > > > > > >
> state type='text' name='field6' />
Email Address name='UEmail'/>
valign="top" colspan="2"> name='submit' value='Submit'/>
>
> > The form works fine. > But when I try to convert this to a tcp submission I get > either a bad host or bad url. > > > [text]content=alex@mccombie.com&field6=ny[/text] > [text]server-response=[TCPconnect > host=click.po155.com][!] [/!][tcpsend]POST /OptIn.aspx > HTTP/1.1[unurl]%0D%0A[/unURL][!] [/!]USER-AGENT: > Mozilla/4.0 (compatible; MSIE 5.01; Windows NT > 5.0)[unurl]%0D%0A[/unURL][!] > [/!]Content-Type: text/xml; > charset=utf-8[unurl]%0D%0A[/unURL][!] > [/!]Content-Length: > [countchars][content][/countChars][unurl]%0D%0A[/unURL][! > ] [/!][unurl]%0D%0A[/unURL][!] > [/!][content][unurl]%0D%0A[/unURL][!] > [/!][/TCPSend][!] > [/!][/TCPconnect][/text] > > [server-response] > > Can anyone get this working or see something stupid I am > missing? > > Thanks > alex 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:

setting taxable to true (1997) Showif, Hideif reverse logic ? (1997) test (2000) Database Structure? (1998) Security (2002) really wierd browser truncating (1997) [WebDNA] Was: wiki Now: Object-oriented programmng (2009) Pithy questions on webcommerce & siteedit (1997) PDF on the fly - how to? (2005) what's the voodoo for PDF on the fly - how to? (2005) Whats up with emailer? (1998) Field validation problem (1999) 2.0Beta Command Ref (can't find this instruction) (1997) Some Advise needed (1997) [WebDNA] Virtual server (2011) [ShowNext] feature in 2.0 (1997) The Send Mail Button is the Best Troubleshooter (1998) [WebDNA] how can i grab the contents of a post? (2011) Sun doesn't have an emailer app? (2000)