> Hi,
>
> I am quite new to rebol, and like what I see so far.
>
> One problem - trying to read the source for a page at a website that
> uses cookies.

First, you can't use read. You have to create the HTTP request yourself and
read the raw data coming back from the httpd daemon (look in the archives how
this is done). Next you've got to figure out WHAT cookies exactly are required
(usually the server supplies some kind of session cookie to you upon arrival at

the front page - so you might first have to read the front page and extract the

cookie data from there). Finally you can send another request and supply the
cookie data to the server. If you're lucky and the site isn't doing referer
checking or anything funky like that - you should have your page.

Have fun,

Chris

[http://www.langreiter.com http://www.langreiter.com/vanilla]

Reply via email to