dEcade

Registered
Jan 31, 2006
1
0
151
Hi, I was wondering how I could make a logout for one of my Web Protected files. Could you please supply me with some .htaccess or php that would allow me to do this. Thanks.

dEcade
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
AFAIK, you can't with a directory protected by .htaccess/.htpasswd as the credentials are cached by most common browsers during the active session.

Whether you can do it with php, you're better off looking at a php resource on the web.