Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: printing HTTP header for webserver scripts and cookie setting

From: SunandaDH:aol at: 23-Apr-2006 18:18

> So the question is how to manage setting of cookie > values in such cases?
What should happen is that you print all headers *before* the first blank line -- ie the ^/ So you can set a cookie like this: print "Content-type: text/html" print "Set-Cookie: name=xxxxxxx" print "" ;; end of headers print ;; start of content Sunanda.