W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

Cookie callbacks in libwww

From: Reeves, John <John_Reeves@compuware.com>
Date: Fri, 14 Apr 2000 15:45:07 -0400
Message-ID: <A58643BEDEF7D211BABB0008C75D853F3F781E@fhpri01.compuware.com>
To: www-lib@w3.org
Hi,

I am using the latest version of libwww under Windows NT using Microsoft
Visual Studio 6.0 to
compile the library and test applications.

Has anyone else noticed that the documentation for the Cookie callback
functions in the HTCookie
module seems to be incorrect?

The documentation refers to the HTCookieSetCallback() and the
HTCookieFindCallback() stating that
the former is used to add cookies to a request before it goes out, and the
latter is called when new
cookies are set from a successful request.

I was having trouble with this until I ran it through a debugger, and sure
enough!  The HTCookieFindCallback()
gets called before the request and the HTCookieSetCallback() is called
after.

Just wanted to clear this up for anyone else who might be having trouble
with this.

- Frank
Received on Friday, 14 April 2000 15:42:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:36 GMT