W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1998

Referrer logging

From: Andrea Peyracchia <pey@multiwire.net>
Date: Sat, 18 Jul 1998 11:05:29 +0200
To: <www-lib@w3.org>
Message-ID: <000901bdb22b$36365470$265b67c3@pey.multiwire.net>
I am trying to send also the "referrer " field for the TCP request. I have
tried different soluctions and applied yours suggestions but It is not still
working. The source code is:

HTProfile_newNoCacheClient ("SMSMail", "beta 0.9");

HTNet_addAfter(fine, NULL, NULL, HT_ALL, HT_FILTER_LAST);
HTAlert_setInteractive(YES);

richiesta=HTRequest_new();

log_refer=HTLog_open("log.txt", YES, YES);
HTNet_addAfter(HTRefererFilter, NULL, log_refer, HT_ALL, HT_FILTER_LATE);

status=HTLoadAbsolute("http://localhost/index.html", richiesta);
HTLog_addReferer(log_refer, richiesta, status);
......
The "log.txt" exists but it is always empty and the refferer field of the
next request is not compiled. Thaks for the support

Andrea Peyracchia
Received on Saturday, 18 July 1998 05:08:16 GMT

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