Re: tcpconnect feature request ..
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 52448
interpreted = N
texte = That would be the case if we could retrieve mime headers inside a TCPConnect without hacking with [middle] etc ..At the moment a redirect is returned with a 302 response and the redirect link as another mime header .. It was more than a few lines of code to make sure the URL was being parsed correctly .. unless I am missing something ?On Saturday, 23 August 2003, at 7:08 AM, Scott Anderson wrote:> Well, if ColdFusion does this... ;)>> I think that would be a fairly easy feature to add. However, I always> hesitate to add a new feature to the engine, when a few lines of > WebDNA code> could do the same thing.>>> -----Original Message-----> From: Alain Russell [mailto:alain.russell@blackpepper.co.nz]> Sent: Thursday, August 21, 2003 10:21 PM> To: WebDNA-Talk@talk.smithmicro.com> Subject: 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 ?> 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/>> -------------------------------------------------------------> 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 to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
That would be the case if we could retrieve mime headers inside a TCPConnect without hacking with [middle] etc ..At the moment a redirect is returned with a 302 response and the redirect link as another mime header .. It was more than a few lines of code to make sure the URL was being parsed correctly .. unless I am missing something ?On Saturday, 23 August 2003, at 7:08 AM, Scott Anderson wrote:> Well, if ColdFusion does this... ;)>> I think that would be a fairly easy feature to add. However, I always> hesitate to add a new feature to the engine, when a few lines of > WebDNA code> could do the same thing.>>> -----Original Message-----> From: Alain Russell [mailto:alain.russell@blackpepper.co.nz]> Sent: Thursday, August 21, 2003 10:21 PM> To: WebDNA-Talk@talk.smithmicro.com> Subject: 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 ?> 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/>> -------------------------------------------------------------> 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 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:
WCS Newbie question (1997)
thanks for the submissions (1998)
State DB & TIme Zones (2003)
select multiple (1997)
[WebDNA] [thisurlplusget] not working (2012)
More DateMath problems (1997)
[REDIRECT url=http://isd.smithmicro.com/] into New Window? (2002)
remove.htm from result (2005)
WebDNA Server Not Running (2005)
Chat (2000)
user/password validation (1998)
Alternating colors (1997)
[LOOKUP] (1997)
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
CommandSecurity? (1997)
[cart] clarification... (1997)
select multiple 2 more cents (1997)
Sami (1998)
View order not right (1997)
[WebDNA] trouble with [url] encoding??? (2014)