belize has asked for the wisdom of the Perl Monks concerning the following question:

I've protected a directory of a website that is secured with .htaccess. Inside that directory I have a number of pages and cgi's (forums, downloads, etc.) that only members should be able to access.

Access works fine, but the problem is that each time a new linked within the directory is followed, the members have to re-enter the password and username, instead of only having to enter it once and then have complete access to the directory and subdirectories throughout their session.

I thought that htaccess writes a cookie when the correct username and password are entered. What am I missing?