Example text only See
HowToMakeATWikiLogoutPage. The LOGOUT link should link to the inaccessible file
logoutfile on your server.
To logout of TWiki, click on this link
LOGOUT
and then click on
Cancel
when you are prompted for a password.
To login again, just click on
Edit on any page you wish to edit and you
should be prompted for your username and password. This time, enter your
correct username and password.
--
BoudRoukema - 10 Jan 2004
WARNING: if you have various aliases for your domain name, then you should write the link as
[[%SCRIPTURL%/logoutfile][LOGOUT]]
since (i guess) your browser caches authentication info for each user for each domain name separately (which makes sense).
If you use a fixed domain name in the link, then users using your non-default domain name alias will
not be logged out, since as far as your browser is concerned, the two different domains are totally unrelated and there's no need to modify the cached user/password info. (Took me a couple of hours to debug this.)
--
BoudRoukema - 11 May 2006
If you have
RedirectPlugin installed, then creating a page named LogOut that has the line
REDIRECT{"http://myserver.domain/cgi-bin/twiki/logoutfile"}%
on it makes it possible to log out simply by typing LogOut in the Jump box, then clicking on
Cancel.
--
ShaughanLavine - 10 Dec 2004
Clever, but, am I right in thinking this still requires explanation to the user of a non-obvious process? If so then unfortunately this is at best just a hack.
Better to ditch the use of
BasicAuthentication in all places that cookies are available.
--
MartinCleaver - 11 Dec 2004