01083: Add persistent authorization option

Summary: Add persistent authorization option
Created: 2009-03-15 00:58
Status: Closed - cookbook recipe
Category: Feature
From: Diafygi
Assigned:
Priority: 551
Version: 2.2.0+
OS: any/any/any

Description: Authorizations in PmWiki are currently handled through sessions. So, there is no way for an authorized user to remain logged in through multiple site visits.

The way this is usually implemented is copying the authorization to a cookie if the user checks a "Remember me?" checkbox during login.

I propose adding the necessary code to the PmWiki core to implement a form of persistent authorization. I will be attaching a patch here as soon as I write one. My first step will be to create a recipe for the Cookbook. Unfortunately, I'm focusing my development efforts on the RSS feeds now, so it will probably be a while people are waiting for me to write a patch. Please feel free to develop your own patch to this bug and post it here. I would recommend writing a recipe for the cookbook first, then trying to implement it into the core. -Diafygi 2009-07-09

I wrote a cookbook recipe which tries to do this. Please see/test/review/comment Cookbook:PersistentLogin. --Petko July 11, 2009, at 04:48 PM