Skip to content

Tag: php

Updated: Login/Logout Method for Basic Authentication

The situation: a kiosk application where people in the community would log in to a web page, request some materials, then log out again. The users are all in our Active Directory login system. How can you construct it so that a user can log out, and the next log in, without forcing them to close and re-open the browser?

Previously the latest version of Firefox broke it. A small mod to the script seems to be just the ticket.

All things considered, maybe using sessions is better. If you’re in a situation where you can’t depend on people doing two clicks to log out, you should look into that.