[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] define PHPGW_PHPSESSID
From: |
Dave Hall |
Subject: |
Re: [Phpgroupware-developers] define PHPGW_PHPSESSID |
Date: |
Wed, 29 Oct 2003 21:35:36 +0100 |
Dirk Schaller <address@hidden> wrote:
> Hi,
>
> I have a short request for the session classes:
>
> In the class.sessions_php4.inc.php you can find in the constructor:
> define('PHPGW_PHPSESSID', ini_get('session.name'));
>
> But the parent class (class.session.inc.php) uses this constant in the
> link() method.
> Why is the constant not defined in the class where they is used?
Because it is only used in php4 sessions. It is a fix for non cookie
based php4 sessions.
>
> Can an API maintainer move the define statement form the child
> class to
> their parent class?
Nope :) There should be a
if(defined())
{
}
in the link function tho :) Will get onto it.
Cheers
Dave
dave.hall.vcf
Description: Card for <dave.hall@mbox.com.au>