Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Web Protect Logout

Discussion in 'General Discussion' started by dEcade, Jan 31, 2006.

  1. dEcade

    dEcade Registered

    Joined:
    Jan 31, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    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
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Altisssimo

    Altisssimo Registered

    Joined:
    Mar 23, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Western Australia
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice