TCPConnect Timeout
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49822
interpreted = N
texte = I'm using some code provided by Bob Minor and Velma Kahn to connect toAuthorizeNet for several stores. It seems that the TCPConnect is timing outbefore receiving a response from AuthorizeNet.Is there any way to prevent the script from timing out?==================== BEGIN CODE SNIP ====================[orderfile cart=[cart]][TEXT show=F]_ANContent=[!][/!]x_Version=3.1&[!][/!]x_Delim_Data=True&[!][/!]x_Login=MyLogin&[!][/!]x_Tran_Key=MyTransactionKey&[!][/!]x_Amount=[grandTotal]&[!][/!]x_Card_Num=[accountNum]&[!][/!]x_Exp_Date=[expMonth][expYear]&[!][/!]x_Type=AUTH_CAPTURE&[!][/!]x_Test_Request=FALSE&[!][/!]x_First_Name=[url][FirstName][/url]&[!][/!]x_Last_Name=[url][LastName][/url]&[!][/!]x_Address=[url][Address1][/url]&[!][/!]x_City=[url][City][/url]&[!][/!]x_State=[url][State][/url]&[!][/!]x_Zip=[url][Zip][/url]&[!][/!]x_Country=[url][Country][/url]&[!][/!]x_Phone=[url][Phone][/url]&[!][/!]x_Email=[url][Email][/url]&[!][/!]x_Tax=[url][taxTotal][/url]&[!][/!]x_Invoice_Num=[url][cart][/url]&[!][/!]x_Customer_IP=[url][IPAddress][/url]&[!][/!]x_Cust_ID=[url][cart][/url]&[!][/!]x_Method=CC[!][/!][/TEXT][/orderfile][text show=F]CRLF=[UnURL]%0D%0A[/UnURL][/text][text]ContentLength=[CountChars][_ANContent][/CountChars][/text][text show=F]__response=[!][/!][grep search=,,&replace=, ,][!][/!][grep search=,,&replace=, ,][!][/!][middle startafter=%0D%0A%0D%0A&endbefore=][!][/!][TCPConnect host=secure.authorize.net&port=443&ssl=T][!][/!][TCPSend]POST /gateway/transact.dll HTTP/1.0[CRLF][!][/!]Content-type: application/x-www-form-urlencoded[CRLF][!][/!]Content-length: [ContentLength][CRLF][!][/!][CRLF][!][/!][_ANContent][!][/!][CRLF][!][/!][/TCPSend][!][/!][/TCPConnect][!][/!][/middle][!][/!][/grep][!][/!][/grep][!][/!][/text][!]---------- SEPARATE THE RESPONSE INTO TEXT VARIABLES ----------[/!][listwords words=[__response]&delimiters=,][text show=F]word[index]=[word][/text][text]__loopend=[index][/text][/listwords]==================== END CODE SNIP ====================---------------------------------------------------------------------Clint DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------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:
I'm using some code provided by Bob Minor and Velma Kahn to connect toAuthorizeNet for several stores. It seems that the TCPConnect is timing outbefore receiving a response from AuthorizeNet.Is there any way to prevent the script from timing out?==================== BEGIN CODE SNIP ====================[orderfile cart=[cart]][TEXT show=F]_ANContent=[!][/!]x_Version=3.1&[!][/!]x_Delim_Data=True&[!][/!]x_Login=MyLogin&[!][/!]x_Tran_Key=MyTransactionKey&[!][/!]x_Amount=[grandTotal]&[!][/!]x_Card_Num=[accountNum]&[!][/!]x_Exp_Date=[expMonth][expYear]&[!][/!]x_Type=AUTH_CAPTURE&[!][/!]x_Test_Request=FALSE&[!][/!]x_First_Name=[url][FirstName][/url]&[!][/!]x_Last_Name=[url][LastName][/url]&[!][/!]x_Address=[url][Address1][/url]&[!][/!]x_City=[url][City][/url]&[!][/!]x_State=[url][State][/url]&[!][/!]x_Zip=[url][Zip][/url]&[!][/!]x_Country=[url][Country][/url]&[!][/!]x_Phone=[url][Phone][/url]&[!][/!]x_Email=[url][Email][/url]&[!][/!]x_Tax=[url][taxTotal][/url]&[!][/!]x_Invoice_Num=[url][cart][/url]&[!][/!]x_Customer_IP=[url][ipaddress][/url]&[!][/!]x_Cust_ID=[url][cart][/url]&[!][/!]x_Method=CC[!][/!][/TEXT][/orderfile][text show=F]CRLF=[unurl]%0D%0A[/UnURL][/text][text]ContentLength=[countchars][_ANContent][/CountChars][/text][text show=F]__response=[!][/!][grep search=,,&replace=, ,][!][/!][grep search=,,&replace=, ,][!][/!][middle startafter=%0D%0A%0D%0A&endbefore=][!][/!][TCPConnect host=secure.authorize.net&port=443&ssl=T][!][/!][tcpsend]POST /gateway/transact.dll HTTP/1.0[CRLF][!][/!]Content-type: application/x-www-form-urlencoded[CRLF][!][/!]Content-length: [ContentLength][CRLF][!][/!][CRLF][!][/!][_ANContent][!][/!][CRLF][!][/!][/TCPSend][!][/!][/TCPConnect][!][/!][/middle][!][/!][/grep][!][/!][/grep][!][/!][/text][!]---------- SEPARATE THE RESPONSE INTO TEXT VARIABLES ----------[/!][listwords words=[__response]&delimiters=,][text show=F]word[index]=[word][/text][text]__loopend=[index][/text][/listwords]==================== END CODE SNIP ====================---------------------------------------------------------------------Clint DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 Main Street | Evansville, IN 47708 | Phone:812-422-9999----------------------------------------------------------------------------------------------------------------------------------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/
Clint Davis
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:
WC2f3 (1997)
what characters are replaced for tab and CR? (1998)
need some help with a loop [nested search?] (1999)
BGcolor (1997)
WebCatalog/WebMerchant Manuals Available (1998)
Opinion: [input] should be called [output] ... (1997)
It just Does't add up!!! (1997)
[addlineitems] as oppossed to url command=add (2000)
Re:Dumb Question about Docs (1997)
Test (2003)
Encryption of E-mail (1998)
Date Formats (1997)
[OT] mozilla / Seamonkey (2007)
WebCat editing, SiteGuard & SiteEdit (1997)
Emailer file formats (1998)
[Way OT] Workstation Security (2002)
Country & Ship-to address & other fields ? (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
[ShowNext] (1997)
Bug Report, maybe (1997)