Date: Thu, 12 Sep 2002 15:17:39 +0200 From: Stefan Seiz To: htdig-general@lists.sourceforge.net Subject: [htdig] Quick and Dirty: Cookie Support in 3.1.6 Hi, Since i was in need of having htdig send a cookie with every request it does to my server (an Application Server, serving database content which uses cookies for session identification). I just patched htdig very quickly and dirty. I end up with a solution i can live with and i think many others can do. With my patch, HTDIG does NOT read cookies the WebServer sends, however you can DEFINE a fixed Cookie in your htdig.conf file which htdig will then happily send with every request. Here's how to: In your htdig.conf file add the following Parameter: cookie: somestring Where "somestring" is the actual cookie content the server will send. Example: cookie: sessionid=12345 In order to have this work, you need to patch htdig/Ducument.cc with the following diff: 508,510d507 < // Addedd cookie Handling sseiz 2002-08-29 < command << "Cookie: " << config["cookie"] << "\r\n"; < Cheers, Stefan -- Stefan Seiz Spamto: ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ htdig-general mailing list To unsubscribe, send a message to with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html