[pmwiki-users] persistence of login (hello?)

Tom celok at gmx.net
Mon Jul 10 05:39:43 CDT 2006


Hi,

i don't know of a recipe using this, but the setting is:

$EnablePostAttrClearSession = 0;

Searching for this string it only comes up on
http://www.pmwiki.org/wiki/PmWiki/ChangeLog and
http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes

and it was implemented with 2.0 beta 24

I am using this setting with big success, but this is not exactly what
you are searching for i guess.

Best Regards,
Tom

Kathryn Andersen schrieb am 10.07.2006 11:20 Uhr:
> On Mon, Jul 10, 2006 at 09:38:18AM +0100, Marc Cooper wrote:
>> Kathryn Andersen said...
>>> I am running PmWiki for our intranet at work, and users have been
>>> complaining that they keep on getting logged out; they want the login to
>>> last as long as the browser is open, but they log in, do stuff, and then
>>> come back the next day to find that they've been logged out again.
>>>
>>> Apache: 2.0.46
>>> PHP: 4.3.2
>>> PmWiki: 2.1.5
>>> using AuthUser + htpasswd + FAST Membership
>>> No password required for reading, just for editing.
>>>
>>> What do I need to do to make sure that their logins don't expire (at
>>> least, don't expire for a month or something like that)?
>>>
>>> Note that I have tried changing settings in Firefox to expire cookies
>>> only when the browser closes, and that doesn't seem to make any difference.
>> As far as I can see, log-ins are locked to the browser session. So, if 
>> you don't close the browser - or logout, obviously - then you should 
>> stay logged in. I'd also be interested to hear if this isn't so.
> 
> It isn't so -- at least with the above combination of programs and
> settings.  I mean, perhaps it *should* be so, but my users and I are
> still being mysteriously put into a state of not being logged in.
> 
> Would there be something that was timing out?  Like, you leave it
> overnight, and come back the next day and the login is gone...
>  
>> That said, I can't speak for htpasswd and FAST Membership, since I don't 
>> use them. It would seem unlikely that would alter the session info. I 
>> had a quick look at the code, and neither seem to.
> 
> Yeah, it would seem rather odd for them to.
>  
>> I seem to remember that the default when changing attributes is to wipe 
>> the session - I switched it off - so that might be a place to look. I 
>> also have vague memories of a recipe doing the same.
> 
> Hmmm.  I haven't been changing any attributes.
> 
> Can you recall which particular recipe?
>  
> Kathryn Andersen




More information about the pmwiki-users mailing list