in reply to Re^7: mod_perl handler for file downloads: good call or bad
in thread mod_perl handler for file downloads: good call or bad

OK, after a bit of research (RFC 2617 - HTTP Authentication), I've figured it out.

The browser only pops up the basic authentication dialog if it receives an HTTP_UNAUTHORISED(401) return status and a WWW-Authenticate header.

So instead, you can do what Apache::Cookie does:

Clint