[php-maint] question on session save path
christian bac
christian.bac at it-sudparis.eu
Thu May 22 14:44:36 UTC 2008
Thanks to those who took time to answer my question,
I now understand that it is not a policy violation to modify the session
path as long as it is targetted to a directory under /var/lib.
I have found why the previous developper decided to have a separate
directory.
In fact phpgroupware has a module (php application) that lists the
sessions. This module needs to browse the session directory and this is
prevented by the debian policy that sets /var/lib/php5/
to drwx-wx-wt.
So the developper has modified the session directory to let phpgroupware
display the session in the admin module.
C.Bac
> On Wednesday 14 May 2008 11:06:02 am chris wrote:
> > Hi,
> > we (olivier and I) are packaging phpgroupware since 2 months and have
> > found that the previous packager decided to use a specific directory to
> > store the session: /var/lib/phpgroupware/sessions instead
> > of /var/lib/php5.
>
> my guess is that it was changed for some reason, but i couldn't tell you why
> off the top of my head. i guess taking a look through the changelog/VCS
> might and archived bugs might give a hint. maybe it had something to do with
> the software wanting to handle expiring sessions on its own or conflicting
> with php's session cleanup or something?
>
>
> sean
More information about the pkg-php-maint
mailing list