Click to See Complete Forum and Search --> : .htaccess question- newbie


clp
05-25-2006, 02:23 AM
Hi-

I understand how to create the .htaccess file for password protection using basic auth for a directory. I have read the documentation but cannot quite determine the following-

I access a file in a protected directory with username/pw.
I have links on the page that reference other pages within the same password protected directory- will I be prompted to give a user name/pw again?-

Will it only prompt if an new window is open? or will it always prompt?

If I leave the page to go to a page that isn't in that directory and then try a link back to the pw protected page- will I have to relog in?

( I don't have the site hosted- just developing on the pc, otherwise I would just test it to figure it out)

Thanks

CLP

Kevey
05-25-2006, 03:02 AM
I use .htaccess on one of my folders. I can go to all pages after initial login/password with no additional prompts. I can also go to a new page and use the back button to reaccess my site, and browse other pages in the directory. And I can go to another site, and then type my url in the browser (vice back button) and go back to my site and browse everything.

ray326
05-25-2006, 01:44 PM
Your browser will cache the required credentials and present them automatically as needed.