In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
writes
>So what I want todo is the following:
>
>1. Log on to website (ok)
>2. Get a webpage with cookie (ok)
>
>3. Get a webpage2 with cookie while sending a cookie.
>
>The first 2 steps are handled by the cookies-client.r script that
>I found on rebol.com and rebol.org sites.
http-get sends a cookie, and retrieves a page. If the server sends a
cookie back, it is saved in 'buffer' ( I think ), and you should be able
to pull out the cookie data as in http-post
parse buffer [ thru "Set-Cookie:" copy cookie-data to ";" ]
The modifications I made to cookies-client.r were for a specific purpose
which is why it doesn't handle all possibilities.
--
Regards, Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope