Jump to content

Recommended Posts

Posted

I have an .htaccess password protected directory which uses PHP to display content besed on who is logged in (using $_SERVER['PHP_AUTH_USER']). What I would like to do is make a logout script that would allow the user to leave the password-protected area and erase the password from the browser's cache without having to close their browser window. I've noticed that the CPanel does exactly that with a PHP logout page. How can I make a similar page?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...