Question : LOGOUT from web authentication (htaccess/apache)

i have a protected directory that i want to be able to LOGOUT of with a button.

i thought the following script would work, but it doesn't

It works in IE but not in FF
1:
2:
3:
4:
<script language="javascript">
document.execCommand("ClearAuthenticationCache") //clear cache
parent.location.href="default.htm" //redirect after logged out
</script>

Answer : LOGOUT from web authentication (htaccess/apache)

Random Solutions  
 
programming4us programming4us