Skip Montanaro writes:
If I visit a non-manage URL which requires authentication, my web browser pops up a dialog box prompting me for a username and password. Once logged in, is it possible to present a "logout" link for the user? I see a manage_zmi_logout link in the top ZMI frame. I presume I can create something similar, yes? You can but I doubt your users will be happy.
With basic authentication, the browser alone has control about the login info. It will usually only be willing to drop the login info, when it receices an "Unauthorized" HTTP response code. It then will open a login dialog. Your users must cancel the dialog to get logged off. Not that intuitive... Go for cookie authentication when you want to have decent login/logout facilities. Dieter