[pmwiki-users] Timeout/short sessions

Ian Barton lists at manor-farm.org
Sat Mar 4 04:56:17 CST 2006


> I have a small class (17 users) in a high school computer lab, and we 
> started using my new wiki today (small, less than 30 pages right now). It 
> did not go well. Most (about 12) users reported being logged out after 
> editing even one line of text. When I got home, I tried the instructions at 
> http://www.pmwiki.org/wiki/Cookbook/FixShortSessions for a server I don't 
> directly control but I cannot find .httpauth file to copy. At home I have 
> never had any problems with the wiki and I suspect its the shared set up at 
> the lab causing issues (judging by what I've read here.)
> 
> The server is IIS with PHP, the wiki is fairly new (how do I find the 
> version? I downloaded it about two weeks ago...) and I am using Userauth v 
> .64 for handling logins. Each student has their own login ID, but they do 
> not have unique passwords. I've read all this about PHP and 24 minutes but 
> I don't think I can change that variable.
> 
You can display the version of PmWiki by putting $Version in a wiki page 
(I have it in my sidebar).

You may be able to change the session lifetime by creating an htaccess 
file in the directory where you installed pmwiki and putting in the 
following values:

php_value session.gc_maxlifetime 3600
php_value session.save_path "/PATH/TO/SESSIONS"

This will only work if the we server has been set up to allow you to 
override the default values in an htaccess file.

Ian.




More information about the pmwiki-users mailing list