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:

Need help with [cart] (2000) credit card authorization question (1997) Question re: FlushDatabases (1997) File Upload (1997) shownext & searchstring (2000) [OT] PHP?MySQL Help Needed (2003) Quit revisited (1997) WebDNA Quick Reference (Reserved Words) (2000) [protect admin] (1997) Img in goodpath (2001) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) value in forms (2000) Cookies and WebCat?? (1999) [ShowNext] (1997) Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) [OT] MacOs IE5 topmargin and leftmargin bug (2000) WebCat2b15MacPlugin - showing [math] (1997) here is one for you.... (2000) RE: Upload (1998) Wrapping text (1998)