2010年4月20日星期二

Re: [fw-auth] authentication timing out by default?



On Mon, Apr 19, 2010 at 6:58 PM, Simon Griffiths <simon.griffiths@tenenbaum.co.uk> wrote:

I had the same issue as well and instead of changing php settings machine wide did this to only affect the ZF app in question.

 

phpSettings.session.gc_maxlifetime = 86400

 

in my application/application.ini

 

This gives my sessions a life of 24 hours which is plenty for this apps needs.

 

Hope this helps,

 

Thanks Simon

I realized that my old php.ini had been inadvertently blown away in the course of a backup/disk replacement/restore operation, so I was getting the rather conservative default that comes with Ubuntu -- session.gc_maxlifetime = 1440 seconds -- and it seems my idle sessions were getting garbage-collected for that reason.


--

Support real health care reform:
http://phimg.org/

--
David Mintz
http://davidmintz.org/


没有评论: