POST through TCPConnect
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 24198
interpreted = N
texte = I am attempting to use a POST command through [TCPConnect] to write totwo databases simultaneously on two different servers. While I can getthe [replace] context to work on both servers, only the local server'sdata seems to use the information from the form on the preceding page.The information on the remote server is simply replaced by emptyvariables.Here is what I am doing - perhaps someone can point me in the correctdirection:----------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 withthe required . Pages One and Two are located onthe 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 price101 description 100.00----------Remote Server DB----------sku desc price101 [desc] [price]Obviously, the [replace] context on page three ran on the remote serveras it should have, but, for some reason, it did not use the informationsent 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
Associated Messages, from the most recent to the oldest:
I am attempting to use a POST command through [tcpconnect] to write totwo databases simultaneously on two different servers. While I can getthe [replace] context to work on both servers, only the local server'sdata seems to use the information from the form on the preceding page.The information on the remote server is simply replaced by emptyvariables.Here is what I am doing - perhaps someone can point me in the correctdirection:----------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 withthe required . Pages One and Two are located onthe 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 price101 description 100.00----------Remote Server DB----------sku desc price101 [desc] [price]Obviously, the [replace] context on page three ran on the remote serveras it should have, but, for some reason, it did not use the informationsent 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
Dennis J. Bonsall, Jr.
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:
WebCat2 beta FTP site (1997)
Date Sorting (1997)
docs for WebCatalog2 (1997)
[OT] Create a thumbnail image of a live webpage (2008)
ShowNext Command (1997)
Example Search Form (1997)
RE: [WebDNA] Scheduling App (2017)
WCS Newbie question (1997)
PCS Frames (1997)
multi-paragraph fields (1997)
Problem with a search context (2005)
Need help with emailer- 2 issues (1997)
Folder modify times (2003)
[Price] (1997)
ReadDateFormat bug in 3.x (1998)
Help name our technology! I found it (1997)
RE: Cart Template (1997)
same product in cart (1997)
Trouble with formula.db (1997)
where to put code (1998)