Tags:
create new tag
, view all tags
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

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2006-05-11 - BoudRoukema
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.