Logout of .htaccess password protected page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tomsace
Forum Contributor
Posts: 167
Joined: Thu Jan 01, 2009 8:07 pm

Logout of .htaccess password protected page

Post by tomsace »

Is this possible to logout of a .htaccess password protected page?
Any help aprechiated.
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Logout of .htaccess password protected page

Post by McInfo »

In your browser, delete the cookie for the site. If you are accessing an FTP site, also delete your cache. There could be a session on the server end, but deleting your cookies and cache will log you out on the client side.

Edit: This post was recovered from search engine cache.
Last edited by McInfo on Mon Jun 14, 2010 1:29 pm, edited 1 time in total.
tomsace
Forum Contributor
Posts: 167
Joined: Thu Jan 01, 2009 8:07 pm

Re: Logout of .htaccess password protected page

Post by tomsace »

Thanks,
But is it possible to do this using a webpage, like a logout link from my webpage?
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Logout of .htaccess password protected page

Post by McInfo »

This is not really a topic I have a lot of experience with. You might find some insight here: http://www.php.net/manual/en/features.http-auth.php

Edit: This post was recovered from search engine cache.
Post Reply