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

[REBOL] Re: Passing a cookie back to the server

From: gjones05:mail:orion at: 8-Jun-2001 14:51

From: "Ryan"
> Hi all, > I was wondering it it was possible to pass a cookie back > to the server using REBOL, and if so how to go about > doing it. Thanks!
Hi, Ryan, Give my new patch a whirl, if you wish. http://www.escribe.com/internet/rebol/m10303.html First, to collect the cookie: fp: open http://my.cookie-site.com my-cookie: copy fp/locals/headers/set-cookie data: copy fp ;to get page information close fp then, use the cookie like so... page: read http://my.cookie-site.com reduce ['cookie mold my-cookie] Let me know how it works. Meanwhile, the way that many have used for several years can be found at: http://www.reboltech.com/library/scripts/cookies-client.r or http://www.reboltech.com/library/html/cookies-client.html --Scott Jones