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 <http://www.StefanSeiz.com>
Spamto: <[EMAIL PROTECTED]>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html