Click to See Complete Forum and Search --> : [RESOLVED] Password Problems
tiberiusjojo
11-22-2006, 03:13 PM
Hey All! (and yes before we start i searched for this) i got my .htaccess and .htpswrd (spelt wrong) in the same file. It works and thats fine. Now however, i want to know how i can make it so once the user has given me the password it stays with them for the whole site (e.g. password protecting whole site but doesn't inconvinence the user every page they go to.) I want it to remember them for a certain amount of time. I googled it but nothing came up that i wanted.
Thanks In Advance! :)
ray326
11-22-2006, 03:52 PM
As long as the domain in the URL remains consistent they'll stay "logged in" and will not be reprompted for name/password by the browser. The name/password will be dumped when the browser is closed. There is no timing parameter for that.
tiberiusjojo
11-22-2006, 03:57 PM
so should i put just a .htaccess in each folder (On the FTP Server)? or both?
ray326
11-22-2006, 04:00 PM
I believe you put the .htaccess at the top of the tree you want to protect and it will cover all the subdirectories.
tiberiusjojo
11-22-2006, 06:32 PM
that worked thanks!