Re: ReturnRaw Returns

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34867
interpreted = N
texte = Depends on the editor; it is usually CTRL-V (flags the next character as special) and then CTRL-M. If you just hit CTRL-M it will be taken as being the same as if you hit the RETURN (or ENTER) key.You should probably see the CTRL-M (often M in reverse video) actually in the file.John PeacockBob Minor wrote: > > 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.com > > Providing 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/------------------------------------------------------------- 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)
Depends on the editor; it is usually CTRL-V (flags the next character as special) and then CTRL-M. If you just hit CTRL-M it will be taken as being the same as if you hit the RETURN (or ENTER) key.You should probably see the CTRL-M (often M in reverse video) actually in the file.John PeacockBob Minor wrote: > > 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.com > > Providing 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/------------------------------------------------------------- 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/ John Peacock

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:

Duplicate Cart ID (2001) [searchString] (1997) Trigger: Only on Saturday (2001) Signal Raised Error (Part II) (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) trouble with [shownext] (2000) [searchString] (1997) Search Question (2003) if/then/else in founditems (2001) Looking for WebCat web hoster in Chicago/Illinois/Midwest (2000) Browser security type (2000) problems with 2 tags (1997) absolute paths for databases? (1997) WriteFile is there a max size? (1998) HELP WITH DATES (1997) Credit card types (1997) Modifying order output (1997) Emailer help....! (1997) Running 2 two WebCatalog.acgi's (1996) [WebDNA] On click show hidden include (2009)