Re: session handling via database

2007-06-26 Thread jyrgen
hi, usually there is no need to modify your php.ini, because it comes with session_handling set to *php*. garbage collection happens automatically. however you have access to certain parameters, for example ini_set(session.gc_probability,1); ini_set(session.gc_divisor,100); will set the

Re: session handling via database

2007-06-26 Thread peterhf
Yesterday afternoon I posted a reply to Chris' post but apparently my post was lost! I had emptied the session table of all entries and registered a new user for the site. A session record was inserted into the session table for that user. That record is still in the table this morning. It is

Re: session handling via database

2007-06-26 Thread peterhf
I agree that gc must be working on my site, so I must be misinterpreting how gc works here. I'm using CakePHP so PHP is running. Thanks for the help. Peter - On Jun 26, 12:01 pm, jyrgen [EMAIL PROTECTED] wrote: hmmm. what sort of auth system are you using ? keep in mind that php needs to be

Re: session handling via database

2007-06-26 Thread jyrgen
hmmm. what sort of auth system are you using ? keep in mind that php needs to be running in order to call gc. there's not going to be a gc call without noboby using the site. do you have alternative accounts for testing ? try the following : reload your login page a couple of times (consider

session handling via database

2007-06-25 Thread peterhf
I have looked at the session management via a database table postings on this list including the excellent one at session handling set to 'database'. However, I did not find one that pointed me in the desired direction. It is my belief that I do not have access to the php.ini file that is

Re: session handling via database

2007-06-25 Thread Chris Hartjes
On 6/25/07, peterhf [EMAIL PROTECTED] wrote: I have looked at the session management via a database table postings on this list including the excellent one at session handling set to 'database'. However, I did not find one that pointed me in the desired direction. It is my belief that I do