1. Do you store sessions in database? If yes, is it the same database as 
the one with application data? If yes, why? And why not use other 
(memcache) storage for sessions?

2. Stop blaming core code for slowness, until you'll be able to write short 
example NOT using your own classes like SessionAcl etc in it, especially 
not after your example code "snippet" above. I do have advanced imagination 
and I'm more then just a bit scared of what and how does your other custom 
code, used in your last loop over $acoes, where I even don't know what 
$recursive you used and how many associations are queried along.

Set up clean CakePHP installation, connect it to the very same database 
like your ACL uses, and run some test code related to your doubts WITHOUT 
your own code.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to