Changeset 1010

Show
Ignore:
Timestamp:
07/09/08 16:36:36 (2 months ago)
Author:
julieni
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0.x/lib/jelix/core/jSession.class.php

    r886 r1010  
    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']){ 
  • branches/1.0.x/lib/jelix/CREDITS

    r1006 r1010  
    7171 - localization system should work with language code without country (#95) 
    7272 - jForms html shouldn't generate readonly attribute on select (#550) 
    73  - jResponseZip : on windows files are view like folders (#538) 
     73 - jResponseZip: on windows files are view like folders (#538) 
    7474 - form plugin create always a form with method post (#592) 
    75  - jDao : attribute groupby for method selectfirst (#447) 
    76  - jZipCreator : empty dirs are not included in the archive (#570) 
    77  - jForms : fixed bugs in jforms.js based on Martus' report (#554) 
     75 - jDao: attribute groupby for method selectfirst (#447) 
     76 - jZipCreator: empty dirs are not included in the archive (#570) 
     77 - jForms: fixed bugs in jforms.js based on Martus' report (#554) 
     78 - jSession: old sessions are not purged with some PHP configurations (#645) 
    7879 
    7980Bastien Jaillot (aka bastnic) 
Download in other formats: Unified Diff Zip Archive