Re: POST through TCPConnect
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 24199
interpreted = N
texte = You didn't send any values inside the tcpsend context.>I am attempting to use a POST command through [TCPConnect] to write to>two databases simultaneously on two different servers. While I can get>the [replace] context to work on both servers, only the local server's>data seems to use the information from the form on the preceding page.>The information on the remote server is simply replaced by empty>variables.>>Here is what I am doing - perhaps someone can point me in the correct>direction:>>----------Page One---------->
>>>----------Page Two---------->[replace db=my.db&sku=[sku]]desc=[desc]&price=[price][/replace]>[tcpconnect host=myhost.com]>[tcpsend]POST page3.tmpl HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend]>[/tcpconnect]>>>----------Page Three---------->[replace db=my.db&sku=[sku]]desc=[desc]&price=[price][/replace]>>>These are snippets of the code from each page. Each page starts with>the required . Pages One and Two are located on>the local server, while page three is located on the remote server.>When viewing the database from each server, here are the results:>>>----------Local Server DB---------->sku desc price>101 description 100.00>>>----------Remote Server DB---------->sku desc price>101 [desc] [price]>>>Obviously, the [replace] context on page three ran on the remote server>as it should have, but, for some reason, it did not use the information>sent to it by the POST command. What am I missing here?>>Thanks in advance,>>Dennis>>>>>------------------------------------------------------------->Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.>To end your Mail problems go to
.>>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 Kenneth GromeWebDNA ConsultantPhone 808-737-6499http://webdna.net-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Associated Messages, from the most recent to the oldest:
You didn't send any values inside the tcpsend context.>I am attempting to use a POST command through [tcpconnect] to write to>two databases simultaneously on two different servers. While I can get>the [replace] context to work on both servers, only the local server's>data seems to use the information from the form on the preceding page.>The information on the remote server is simply replaced by empty>variables.>>Here is what I am doing - perhaps someone can point me in the correct>direction:>>----------Page One---------->>>>----------Page Two---------->[replace db=my.db&sku=[sku]]desc=[desc]&price=[price][/replace]>[tcpconnect host=myhost.com]>[tcpsend]POST page3.tmpl HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend]>[/tcpconnect]>>>----------Page Three---------->[replace db=my.db&sku=[sku]]desc=[desc]&price=[price][/replace]>>>These are snippets of the code from each page. Each page starts with>the required . Pages One and Two are located on>the local server, while page three is located on the remote server.>When viewing the database from each server, here are the results:>>>----------Local Server DB---------->sku desc price>101 description 100.00>>>----------Remote Server DB---------->sku desc price>101 [desc] [price]>>>Obviously, the [replace] context on page three ran on the remote server>as it should have, but, for some reason, it did not use the information>sent to it by the POST command. What am I missing here?>>Thanks in advance,>>Dennis>>>>>------------------------------------------------------------->Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.>To end your Mail problems go to .>>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 Kenneth GromeWebDNA ConsultantPhone 808-737-6499http://webdna.net-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
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:
[ShowNext] (1997)
expansion domain freak out (2003)
Referrer Problems (2000)
encryption madness (2003)
Shopping Cart ID (1998)
RE: Credit Card Checksum (1997)
WebDelivery downloads alias, not original ? (1997)
[BULK] [WebDNA] [BULK] WebDNA AJAX example wanted! (2010)
[Sum] function? (1997)
[authenticate] (1999)
Expiration of Carts (1997)
[Summary] re: Emailer setup (1997)
Help: sorting in found set. (2001)
WebCatalog NT (1996)
limitation found on group searching (1997)
WebDNA EMail Preference (2005)
different show next (1997)
Speed/performance issues using .hdr (1997)
Monthly Help File (1997)
expansion domain freak out (2003)