More and more sites that I work on have started having private areas for members. These used to be basic-auth type sites, and for these, ht://Dig was great - just specify a user and off you go.
However, more and more I find that the sites are asking me to switch them over to a cookie based system - (usually based on the mod_perl Ticket code) - this redirects to a login page on first protected page hit, and issues a cookie including an md5 hash. After that, as long as the cookie is present, you just carry on.
So, at the moment, can't see how to use ht://Dig with such protected areas - would love to see some ability to handle this kind of stuff - for me, it's getting more and more important each week :-)
Logged In: YES
user_id=21420
Cookies are supported in current snapshots of 3.2.0b4.
Logged In: YES
user_id=50099
Thanks for the info. I've dug a bit in the code, and can see
where it sends cookies to the server, and where it stores
any cookies sent by the server, but I can't see where I can
set a cookie in config, or how to specify a URL to get a
cookie for a given site (e.g. site http://www.site.com, gets
cookie from http://login.site.com?user=user&pass=pass\).
Either would do. Any hints?
Thanks again
Logged In: YES
user_id=310380
Yes same problem here. I need htdig to access some cookie
restricted area. How can I set cookies? Any help is
greatly appreciated!