Re: tcpconnect feature request ..

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52417
interpreted = N
texte = I coded around it but it was messy .. Coldfusion has this now with cfhttp redirect=T so I guess it would not be to hard to add to TcpConnect. . I've just been working on some paypal stuff where this would have been handy and figured that as a whole it would be handy to have .. Scott .. any comments ? Alain On Friday, 22 August 2003, at 4:36 PM, Kenneth Grome wrote: > 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/ > > -- Alain Russell Blackpepper Interactive Ltd p. 09 520 6280 | m. 021 446 169 http://www.blackpepper.co.nz ------------------------------------------------------------- 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)
I coded around it but it was messy .. Coldfusion has this now with cfhttp redirect=T so I guess it would not be to hard to add to TcpConnect. . I've just been working on some paypal stuff where this would have been handy and figured that as a whole it would be handy to have .. Scott .. any comments ? Alain On Friday, 22 August 2003, at 4:36 PM, Kenneth Grome wrote: > 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/ > > -- Alain Russell Blackpepper Interactive Ltd p. 09 520 6280 | m. 021 446 169 http://www.blackpepper.co.nz ------------------------------------------------------------- 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/ Alain Russell

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:

Dummy Credit Card Number for debug? (1997) tcpconnect (1999) problems with 2 tags shakur (1997) Artwork (1997) [WebDNA] WebDNA Host being retired (2014) For those of you not on the WebCatalog Beta... (1997) WebStar CGI Version (2005) time + (1998) Foreign Chars ( יאצה and so on) (1998) WebMerchant 1.6 and SHTML (1997) [format 40s]text[/format] doesn't work (1997) Busted at the Border (1998) WebTen Memory Error with Plug-In (1998) WCS Newbie question (1997) quantity minimum problem (1997) GREP Help (2001) Showing unopened cart (1997) Nested search (1997) wow (1998) [no_cache]?! (2000)