Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > clearing browser's password cache upon logout

clearing browser's password cache upon logout
Thread Tools
Mac Elite
Join Date: Sep 2000
Location: New York
Status: Offline
Reply With Quote
Aug 8, 2003, 02:44 PM
 
I am working on a PHP HTTP authentication system for a web site and I am using sessions so that a user only has to log in once. However the browser caches the name and password so when they click my logout link which ends the session, the browser still remembers the name and password. Therefore the user really isn't logged out and going back to "log in" to the site doesn't even prompt the user for a password.

Obviously this is a huge security hole, but I've found a way to fix it in IE for windows by calling ocument.execCommand("ClearAuthenticationCache") in a javascipt. However this doesn't seem to work on Mac browsers. I was wondering if anyone knows a way to get this effect for all browsers.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:17 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2