Tags:
cairo1Add my vote for this tag create new tag
view all tags

UserCookiePlugin

ALERT! 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 smile

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

Plugin Author: SvenDowideit
Plugin Version: 21 Sep 2001
Change History: Jan 2004: updated to new Plugings API
21 Sep 2001: Initial version
CPAN Dependencies: HTTP::Cookie
Other Dependencies:  
Perl Version: 5.0
Plugin Home: http://uhm1yw1p2k7baemmv4.roads-uae.org/cgi-bin/view/Plugins/UserCookiePlugin
Feedback: http://uhm1yw1p2k7baemmv4.roads-uae.org/cgi-bin/view/Plugins/UserCookiePluginDev

Related Topics: TWikiPreferences, TWikiPlugins

-- SvenDowideit - 21 Sep 2001

Topic attachments
I Attachment History Action Size Date Who Comment
Perl source code filepm Plugins.pm r1 manage 10.8 K 2001-09-22 - 01:28 UnknownUser 01Sept2001 version patched
Perl source code filepm TWiki.pm r1 manage 65.3 K 2001-09-22 - 01:32 UnknownUser 01Sept2001 version patched
Compressed Zip archivezip UserCookiePlugin.zip r1 manage 3.4 K 2001-09-22 - 02:45 UnknownUser  
Unknown file formatext register r1 manage 9.8 K 2001-09-22 - 01:27 UnknownUser 01Sept2001 version patched
Edit | Attach | Watch | Print version | History: r19 < r18 < r17 < r16 < r15 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r19 - 2006-03-14 - WillNorris
 
  • 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.