-
how to password protect section
I want to have a password protected section on my website.
What is the best way to do it?
I can use cpanel to create a [assword protected directory, but how do I create a function for the user to logout?
Thanks
-
The web protect feature in cPanel works by using simple .htaccess and .htpasswd files in the folder to be protected. By default, there is no logout feature for this. The user would normally have to close their browser, not check "remember my password" in the browser or empty their browser's cache and cookies.
There are a few hacks that I found that can produce the effect though. Have a look at:
http://www.ssi-developer.net/htacces...s_logout.shtml
http://www.webmasterworld.com/forum13/3147.htm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules