Re: ReturnRaw Returns

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34864
interpreted = N
texte = I am creating this file on the file, any quick ideas on how to create it with the cr/lf when its created on a unix box?Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.> From: John Peacock > Reply-To: (WebCatalog Talk) > Date: Wed, 19 Jul 2000 13:45:38 > To: (WebCatalog Talk) > Subject: Re: ReturnRaw Returns > > This is not a bug; it is part of the definition of HTML headers. You > must have a CR/LF after every line in the header. The header is ended > by two CR/LF pairs in a row. Look at any book that discusses the HTTP > protocol. > > John Peacock > > Bob Minor wrote: >> >> WebCatalog 3.0 on iTools 5 OSX >> >> I have the following code: >> >> [returnraw]HTTP/1.0 302 Found >> Set-Cookie: id=[cart]; expires=Wednesday, 09-DEC-[format days_to_date >> %Y][math]{[date]}+2730[/math][/format] 23:00:00 GMT; path=/; >> domain=.[bnsdomain] >> Set-Cookie: bid[lc]=[uid]; path=/; domain=.[bnsdomain] >> Set-Cookie: ayid=[date %Y]_[uid]_[s]; path=/; domain=.[bnsdomain] >> Location: www.mysite.com/datalink.tpl >> >> [/returnraw] >> >> it works fine if I save the file with DOS Returns >> >> if it has unix returns it does not, this seems backwards. any idears for >> work arounds? >> >> Is this a known bug? >> >> ------------------------------------------------------------- >> 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://search.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://search.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: ReturnRaw Returns (WebDNA Support 2000)
  2. Re: ReturnRaw Returns (Bob Minor 2000)
  3. Re: ReturnRaw Returns (John Peacock 2000)
  4. Re: ReturnRaw Returns (Bob Minor 2000)
  5. Re: ReturnRaw Returns (John Peacock 2000)
  6. ReturnRaw Returns (Bob Minor 2000)
I am creating this file on the file, any quick ideas on how to create it with the cr/lf when its created on a unix box?Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.> From: John Peacock > Reply-To: (WebCatalog Talk) > Date: Wed, 19 Jul 2000 13:45:38 > To: (WebCatalog Talk) > Subject: Re: ReturnRaw Returns > > This is not a bug; it is part of the definition of HTML headers. You > must have a CR/LF after every line in the header. The header is ended > by two CR/LF pairs in a row. Look at any book that discusses the HTTP > protocol. > > John Peacock > > Bob Minor wrote: >> >> WebCatalog 3.0 on iTools 5 OSX >> >> I have the following code: >> >> [returnraw]HTTP/1.0 302 Found >> Set-Cookie: id=[cart]; expires=Wednesday, 09-DEC-[format days_to_date >> %Y][math]{[date]}+2730[/math][/format] 23:00:00 GMT; path=/; >> domain=.[bnsdomain] >> Set-Cookie: bid[lc]=[uid]; path=/; domain=.[bnsdomain] >> Set-Cookie: ayid=[date %Y]_[uid]_[s]; path=/; domain=.[bnsdomain] >> Location: www.mysite.com/datalink.tpl >> >> [/returnraw] >> >> it works fine if I save the file with DOS Returns >> >> if it has unix returns it does not, this seems backwards. any idears for >> work arounds? >> >> Is this a known bug? >> >> ------------------------------------------------------------- >> 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://search.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://search.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://search.smithmicro.com/ Bob Minor

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 search title (1998) error count with $purchase (1997) Spaces causing netscape to act weird . . . (2002) WCS Newbie question (1997) Banner Ads (2000) Sum of Quantities (1997) intel webdna? (2007) Purchased cart being overwritten - still !?? (1997) sendmail and accented characters (1998) [WebDNA] upgrading to 8.1 or 8.2? (2016) OT : OSX file limitations (2001) Re:quit command on NT (1997) [OT] Argh... (2004) Initiating NewCart (1997) form data submission gets truncated (1997) [WebDNA] TCPConnect/cURL alternative for windows? (2010) Rhapsody? (1997) XHTML Compliant Links (2007) PIXO (1997) Nesting [ListFiles] (1998)