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

[REBOL] Re: setting a cookie

From: gjones05:mail:orion at: 7-Jun-2001 6:18

From: "Maarten Koopmans"
> I figuerd out my previous question: > > a: open http://www.whatever > probe a/locals/headers > > This gives me a cookie. The next time I want do a request I want to
pass that
> cookie back. Can I use read/custom for that?
Hi, Maarten, I, of course, could be wrong (stop the snickering out in the audience!;-), but I don't think that /custom will work. I believe that currently, read/custom only detects POST, and POST information is sent after the headers. Johannesson/Grossman/Chiu have a script in the library called cookie client. http://www.reboltech.com/library/html/cookies-client.html I suspect that there is a much simpler way to set this information in the newer versions of the http scheme, but It would take a bit of playing to get it just right. If no one offers a quick, ready answer, I'll play with it a bit later and repost. --Scott Jones