You are here:
Foswiki
>
Cosmo Web
>
WebPreferences
>
LogoutPage
>
HowToMakeATWikiLogoutPage
(10 Jan 2004,
BoudRoukema
)
(raw view)
E
dit
A
ttach
%TOC% ---- ---+ How do you make a TWiki logout page? When many people successively use the same screen and are likely to use the same browser running without being closed down, it may be practical to be able to logout of TWiki. Some hints: http://www.ssi-developer.net/htaccess/htaccess_logout.shtml ---++ method: recommend that the user tries to access an inaccessible file As of version [[http://adjani.astro.uni.torun.pl/~boud/twiki_20030201-1_all.deb][twiki_20030201-1_all.deb]], what worked for me (boud) is the following: ---+++ an inaccessible file * _ls -l /usr/lib/cgi-bin/twiki/logoutfile_ * _-rwxr-xr-x 1 root root 0 Sep 23 14:52 /usr/lib/cgi-bin/twiki/logoutfile_ * an empty local file, local access doesn't matter * _more /usr/lib/cgi-bin/twiki/.htaccess_ * _..._ * _<Files "logoutfile">_ * _require user logoutuser_ * _</Files>_ * only one very special user is allowed to access the file * _more /var/lib/twiki/data/.htpasswd_ * _..._ * _logoutuser:logoutpass_ * In principle, if anyone can decrypt the string "logoutpass" (in principle, as far as apache is concerned, this is the crypted version of some existing password), he/she could log in as user _logoutuser_ . However, it's very unlikely that this could be done, and even it could be, it wouldn't matter. * the directories for Debian are probably different to standard - you have to sort this out for your system ---+++ explanation for the user * info on LogoutPage, *before* accessing inaccesible file, so that the user understands what to do - with a link to the inaccessible file - it's probably important to have this _wrapper_ page, since otherwise the user will not understand that clicking on _cancel_ is what is expected. * info on _/var/lib/twiki/templates/oopsauth.tmpl_, this is seen *after* accessing the inaccessible file and clicking on _cancel_ - someone can reach this page for different reasons, it's probably important that the user has this feedback ---- see also: TWiki:Codev.HowToMakeATWikiLogoutPage, TWiki:Codev.UsabilityIdeas#obvious_login_logout_mechanism
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 10 Jan 2004,
BoudRoukema
Cosmo
Log In
or
Register
Toolbox
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Cosmo
Main
Sandbox
System
English
Français
Polski
Copyright © CC-BY-SA by the contributing authors. All material on this collaboration platform is copyrighted under CC-BY-SA by the contributing authors unless otherwise noted.
Ideas, requests, problems regarding Foswiki?
Send feedback