Re: tcpconnect feature request ..
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52443
interpreted = N
texte = Well, if ColdFusion does this... ;)I think that would be a fairly easy feature to add. However, I alwayshesitate to add a new feature to the engine, when a few lines of WebDNA codecould do the same thing.-----Original Message-----From: Alain Russell [mailto:alain.russell@blackpepper.co.nz]Sent: Thursday, August 21, 2003 10:21 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect feature request ..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 ?AlainOn 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 RussellBlackpepper Interactive Ltdp. 09 520 6280 | m. 021 446 169http://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 toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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:
Well, if ColdFusion does this... ;)I think that would be a fairly easy feature to add. However, I alwayshesitate to add a new feature to the engine, when a few lines of WebDNA codecould do the same thing.-----Original Message-----From: Alain Russell [mailto:alain.russell@blackpepper.co.nz]Sent: Thursday, August 21, 2003 10:21 PMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: tcpconnect feature request ..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 ?AlainOn 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 RussellBlackpepper Interactive Ltdp. 09 520 6280 | m. 021 446 169http://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 toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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/
Scott Anderson
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:
International Orders (1998)
Introduction/Tutorial/QuickStart (1997)
Carts in Admin folder? (1999)
form data submission gets truncated (1997)
[ShowNext] (1997)
japanese characters (1997)
Date search - yes or no (1997)
Never ending problem.... (2000)
RE: Formulas.db + Users.db (1997)
Replace Statement (1997)
ASP and WebDNA (1998)
ShowNext (1997)
Time math (2002)
Undeclared variables (2004)
Client-side Image Maps and WebCat? (1998)
Email (2000)
possible bug in unix version? (2000)
Fedora Core 3 and WebDNA (2005)
syntax question, not in online refernce (1997)
bye bye tax rate (1998)