Hello all,
I've been looking for a way to speed up requestAction and wanted to
share a hack I came up with. It seems that the main problem is that
the SessionComponent is re-instantiated and a new session is started
each time.
First i modified SessionComponent and added the following function:
That's great - thanks!
Adam
--~--~-~--~~~---~--~~
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 PROT
In app/config/core.php on line 108:
/**
* Set Cake Session time out.
* If CAKE_SECURITY define is set
* high: multiplied by 10
* medium: is multiplied by 100
* low is: multiplied by 300
*
* Number below is seconds.
*/
define('CAKE_SESSION_TIMEOUT', '120');
Hope that helps,
Adam
--~--
Hullo,
I am basically posting the same question as thirdleaf on 2006-01-01 to
see if there is any more news or information.
I have two tables 'foo' and 'bar', which are joined by a HABTM
relationship with the table 'foo_bar'.
Sometimes I would like to use these associations, and sometimes not.