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

[REBOL] Re: R: Re: Reading and setting cookies

From: gabriele:colellachiara at: 20-Nov-2005 14:14

Hi Giuseppe, On Sunday, November 20, 2005, 1:35:57 PM, you wrote: GC> I am on the client side of the thing. GC> I want to access pages located in a remote server and I need to GC> accept a cookie and make a login. I am taking a look at http-tools.r but it GC> does not set the data as promised: GC> http-tools-data/cookie-data is empty. A few hints:
>> p: open
connecting to:
>> print p/locals/headers
Date: "Sun, 20 Nov 2005 13:03:58 GMT" Server: "Apache" Last-Modified: "Thu, 10/Nov/2005/23:00:37/+GMT" Accept-Ranges: "bytes" Content-Encoding: none Content-Type: "text/html" Content-Length: "8015" Location: none Expires: none Referer: none Connection: "close" Authorization: none ETag: {"1d0325-1f4f-4373d115"}
>> close p >> p: read/custom [header [Cookie: "name=value"]]
connecting to: == {<html> <head> <META NAME="Description" CONTENT="Lightweight distributed computing, collaboration, and programming systems for t... Regards, Gabriele. -- Gabriele Santilli <> --- Colella Chiara software division ---