[pmwiki-users] PmWiki work directory

marc gmane at auxbuss.com
Tue Dec 19 04:54:09 CST 2006


Patrick R. Michaud said...
> We've discussed this in the past, but two recent messages to the 
> mailing lists [1, 2] convince me that we really need a dedicated 
> "work directory" (other than wiki.d/) where PmWiki can store 
> temporary working files.
> 
> The simplest approach at this point is to simply have PmWiki
> create a work.d/ directory (in the pmwiki root) and have it start 
> storing its files there.  The work files that have traditionally
> gone into wiki.d/ would then lose the dot, so that we have:
> 
>     work.d/flock
>     work.d/pagelist
>     work.d/notify
>     ...etc...
> 
> A big advantage is that we can then easily do
> 
>     session_save_path('work.d');
> 
> and a *lot* of PHP configuration issues disappear:
> 
>   1. Sessions in a farm no longer "move" from one wiki to the next
>   2. PHP sessions on Windows platforms work by default
>   3. The "/tmp is not writable" problem is no longer an issue
>   4. Don't have to worry about session timeouts from other PHP
>      scripts

If this "simple" solution works, then may I turn the question around and 
ask: what problems (or future limitations) would it impose? (As opposed 
to a more complex solution.)

It would be great to see the session situation simplified (if that's the 
right word).

-- 
Best,
Marc





More information about the pmwiki-users mailing list