Try: ini_set("session.gc_probability",100); ini_set("session.gc_divisor",100); ini_set("session.gc_maxlifetime",10);
On Apr 2, 1:33 pm, "majna" <[EMAIL PROTECTED]> wrote: > gc_probability/gc_divisor, e.g. 1/100 means there is a 1% chance that > the GC process starts on each request. > > from:http://hr.php.net/manual/en/ref.session.php > > On Apr 2, 11:58 am, "jyrgen" <[EMAIL PROTECTED]> wrote: > > > Thanks ! > > Sure i could add some debugging to _gc, though i guess > > it won't show anything, because the method is never called. > > > in the meantime i have checked php.ini files of both servers, > > these are the session directives: > > > -> my local server (sessions working) > > > session.entropy_length 0 0 > > session.gc_divisor 100 100 > > session.gc_maxlifetime 1440 1440 > > session.gc_probability 0 > > > -> remote server (where sessions remain the database) > > > session.entropy_length 16 16 > > session.gc_divisor 1000 1000 > > session.gc_maxlifetime 1440 1440 > > session.gc_probability 0 > > > the only remarkable difference is the dc_divisor... > > hm... any ideas ? > > > jyrgen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---