Referrer logging

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 UTC