UserCookiePlugin
Note: Do NOT use this for TWiki 4.0 and beyond, use the built in sessions support instead
After you register yourself on a computer, you never need to login again. This plugin adds a cookie to your machine that will identify you for all future accesses to your twiki. This is very useful in intranet situations.
Feb2003 release
To get a version of the
UserCookiePlugin for the latest release, download and save the
UserCookiePlugin.pm file as
SessionPlugin.pm
And the put the
UserCookiePlugin.txt file into your Plugins web dir
You can ignore the rest of the files mentioned here as they are for the previous release
I have updated the cvs version to work with the Jan2004 Beta
Syntax Rules
There is no special syntax. you may need to change the cookie expireation date to use the format that your
WebServer requires (I found that IIS's date format changed depending on the version and localization setting.)
UserCookiePlugin Settings
- One line description, is shown in the TextFormattingRules topic:
- Set SHORTDESCRIPTION = Identify users with a persistent cookie created at the time of registration.
Plugin Installation Instructions
- Install the patched versions of register, TWiki.pm & Plugins.pm
- Download the ZIP file from the Plugin web (see below)
- Unzip
UserCookiePlugin.zip
in your twiki installation directory. Content: File: | Description: |
data/TWiki/UserCookiePlugin.txt | Plugin topic |
data/TWiki/UserCookiePlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/UserCookiePlugin.pm | Plugin Perl module |
- Check this topic here if the installation was successful
- Test if the plugin is correctly installed:
- register using TWikiRegistration
- check to see that there is a cookie on your machine (or just edit a page.)
Plugin Info
Related Topics: TWikiPreferences,
TWikiPlugins
--
SvenDowideit - 21 Sep 2001