Changeset 1009

Show
Ignore:
Timestamp:
07/09/08 16:25:49 (1 month ago)
Author:
julieni
Message:

ticket #645: jSession: old sessions are not purged with some PHP configurations

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix/core/jSession.class.php

    r1001 r1009  
    3939 
    4040        if(isset($params['storage'])){ 
     41 
     42            /* on debian/ubuntu (maybe others), garbage collector launch probability is set to 0 
     43               and replaced by a simple cron job which is not enough for jSession (different path, db storage, ...), 
     44               so we set it to 1 as PHP's default value */ 
     45            if(!ini_get('session.gc_probability')) 
     46                ini_set('session.gc_probability','1'); 
    4147 
    4248            switch($params['storage']){ 
  • trunk/lib/jelix/CREDITS

    r1007 r1009  
    1919 - localization system should work with language code without country (#95) 
    2020 - jForms html shouldn't generate readonly attribute on select (#550) 
    21  - jResponseZip : on windows files are view like folders (#538) 
     21 - jResponseZip: on windows files are view like folders (#538) 
    2222 - form plugin create always a form with method post (#592) 
    23  - jDao : attribute groupby for method selectfirst (#447) 
    24  - jZipCreator : empty dirs are not included in the archive (#570) 
    25  - jForms : fixed bugs in jforms.js based on Martus' report (#554) 
    26  - jLocale : support multiline rendering in strings (#569) 
     23 - jDao: attribute groupby for method selectfirst (#447) 
     24 - jZipCreator: empty dirs are not included in the archive (#570) 
     25 - jForms: fixed bugs in jforms.js based on Martus' report (#554) 
     26 - jLocale: support multiline rendering in strings (#569) 
    2727 - some errors and missing help for jAcl2 command line scripts (#622) 
     28 - jSession: old sessions are not purged with some PHP configurations (#645) 
    2829 
    2930Bastien Jaillot (aka bastnic) 
Download in other formats: Unified Diff Zip Archive