Re: tcpconnect feature request ..

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52412
interpreted = N
texte = This is interesting ... and I'll bet that it's not possible to add this feature because of the low level capabilities (and limitations) of the tcpconnect context. I think a redirect sends a response back to the browser that tells the browser to close the connection then immediately open a new connection on a different page (the redirect page). If this is how it works, then the connection will close after the browser receives the 'redirect' response from the server ... and the rest of the webdna code in your template will be interpreted and then sent to the browser. This means SMSI would have to come up with a feature that dynamically creates and inserts an *invisible* tcpconnect context immediately following the visible tcpconnect you have coded into your template. But it could only do this when the response from your tcpconnect context is a redirect instead of a 'normal' response. It's probably not impossible, but ... ? >Is there anyway we could get TCPCONNECT to have an optional > >&redirect=T so it would follow 302/303 redirects ? > >Just spent a couple of hours trouble shooting a Paypal IPN problem >and it turns out if the tcpconnect context followed a redirect no >error would have been found .. > >Thanks >Alain -- Sincerely, Kenneth Grome ------------------------------------------------------------- Outsource your WebDNA programming for $18 an hour or less! ------------------------------------------------------------- ------------------------------------------------------------- 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:

    
  1. Re: tcpconnect feature request .. ( Alain Russell 2003)
  2. Re: tcpconnect feature request .. ( Scott Anderson 2003)
  3. Re: tcpconnect feature request .. ( Alain Russell 2003)
  4. Re: tcpconnect feature request .. ( Kenneth Grome 2003)
  5. tcpconnect feature request .. ( Alain Russell 2003)
This is interesting ... and I'll bet that it's not possible to add this feature because of the low level capabilities (and limitations) of the tcpconnect context. I think a redirect sends a response back to the browser that tells the browser to close the connection then immediately open a new connection on a different page (the redirect page). If this is how it works, then the connection will close after the browser receives the 'redirect' response from the server ... and the rest of the webdna code in your template will be interpreted and then sent to the browser. This means SMSI would have to come up with a feature that dynamically creates and inserts an *invisible* tcpconnect context immediately following the visible tcpconnect you have coded into your template. But it could only do this when the response from your tcpconnect context is a redirect instead of a 'normal' response. It's probably not impossible, but ... ? >Is there anyway we could get TCPCONNECT to have an optional > >&redirect=T so it would follow 302/303 redirects ? > >Just spent a couple of hours trouble shooting a Paypal IPN problem >and it turns out if the tcpconnect context followed a redirect no >error would have been found .. > >Thanks >Alain -- Sincerely, Kenneth Grome ------------------------------------------------------------- Outsource your WebDNA programming for $18 an hour or less! ------------------------------------------------------------- ------------------------------------------------------------- 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/ 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:

Databases (2000) webcat (2000) webcat nt (1997) Snake Bites (1997) [WebDNA] Apache 2 Error Log Entry (2009) Running 2 two WebCatalog.acgi's (1996) Searching Numbers (2004) Can [writefile] files be served thru webcat? (2000) [WebDNA] cPanel (2012) Multiple catalog databases and showcart (1997) Text data with spaces in them... (1997) removelineitems (2000) WebCatalog can't find database (1997) how to kill webcat ? (2002) The Guru Speaks-very long reply (1998) Using grep to parse Canadian Postal Codes (2002) Execute Applescript (1997) RE: Credit card processing - UK (1997) form data submission gets truncated (1997) Requiring that certain fields be completed (1997)