Symfony, how to set session timeout in action
How to set session timeout in sym开发者_开发问答fony 1.4 from an action?
Try adding a timestamp parameter
to the session when its created. Then in your actions just check this timestamp is not too old.
Good luck
sfConfig::set("sf_timeout", (int)SettingsQuery::getAttr("session_timeout", 42000));
精彩评论