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 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)
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 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:

Calendar Snippet (1998) Add to a field (1998) RE: [WebDNA] PHP Array translated to Webdna (2010) Problems with upload / WebCat (1998) Squares instead of spaces (2001) ShowCart (2001) WebCatalog for guestbook ? (1997) Nested tags count question (1997) Shopping Cart Directory (2000) Problems adding stuff to the shopping cart. (1997) Size limit for tmpl editor ? (1997) multi-paragraph fields (1997) Assigning new CART number (1997) [BULK] [WebDNA] [BULK] WebDNA 7 - Showing every other far DB - Fault! (2011) RE: How much ram??? (1997) Threaded Discussion (1998) Search for value or blank? (2004) Suggestions for Topics to be covered in an Advanced (1998) WebCat2 - Getting to the browser's username/password data (1997) Email notification to one of multiple vendors ? (1997)