curl-library
Re: Cookie database query mid-session
Date: Mon, 31 Jan 2005 13:03:35 +0000
Hi,
I will have a look at his and see what I can do. I've not really tried
delving to libcurl before so I make no promises.
How do I get the latest sources from CVS (whats the CVSROOT and project
name)? I have had a look through the web site and I've not found details
(I guess I am not looking in the right place).
Thanks
Andy
On Fri, 2005-01-28 at 19:19, Daniel Stenberg wrote:
> On Fri, 28 Jan 2005, Bradley T Files wrote:
>
> > I suppose I could set the CURLOPT_HEADER and CURLOPT_WRITEFUNCTION and try
> > to pull it out of the returned stream after logging in but that seems a like
> > a bit of overkill to me. I simply want to query the session for the
> > existence/value of a cookie.
>
> There is currently no such way. We've discussed this in the past, and I still
> want to add an API that can get (and set) cookies like this.
>
> The last time I brought it up is here:
> http://curl.haxx.se/mail/lib-2004-12/0195.html
>
> ... and the previous somewhat bigger suggestion is here:
> http://curl.haxx.se/dev/COOKIES
>
> (And judging from the comments to the mail above, we need some kind of mix of
> these two to satisfy people.)
>
> Until we get a function or two for cookies, extracting the info "manually" by
> intercepting headers is the only proper way.
>
> I'm very interested in suggestions and ideas. I have too many libcurl
> development plans going to keep all of them up to speed on my own.
-- Andy Hobbs <andy_at_hobbs.uk.net>Received on 2005-01-31