Re: ReturnRaw Returns

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34861
interpreted = N
texte = 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 PeacockBob 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/ 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)
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 PeacockBob 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/ 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:

Possible Macv2.1b2 Merge Bug (1997) Calendar Snippet Available (1998) Wrapping text (1998) [OT]Target Links (advanced??) (2001) 2.01 upgrade problems (1997) 'page impression' techniques for banner ads (1999) Intermitent problem using [referrer] (1997) Quantity discount on some items? (2000) Keep away (1997) [INCLUDE] Limitations (1998) [WebDNA] Wikipedia entry? (2008) [WriteFile] problems (1997) Referrer from multiple entry points (1998) [writefile] (1997) message forum question (2005) What really killed WebDNA? (2007) [WebDNA] sagepayments TLS? requests now failing (2018) Help name our technology! (1997) retain raw [cart] submitted value (2004) Running _every_ page through WebCat ? (1997)