Hi, What's the security level of your application (you can find this in app/config/core.php in 'Security.level' setting)? If it's 'high' then try after changing it to 'medium' or 'low'
Amit http://amitrb.wordpress.com/ http://coppermine-gallery.net/ http://cheesecake-photoblog.org/ http://www.sanisoft.com/blog/author/amitbadkas On Thu, Apr 30, 2009 at 2:34 PM, Jonas Hartmann < [email protected]> wrote: > > Hello, > > i have an issue with deploying my cake application. Running local on > Mac OS X it works like charm. After uploading it to a Ubuntu based > VHost on HostEurope I had some headaches with PLESK and its strange > standard unix permission setup. After making those things work, I > still have one problem left: > > I lose my session from time to time under heavy load. This happens > with either php, cake or database sessions, I have tried all of them. > It happens when for Instance I run > http://www.domain.tld/admin/categories/index > multiple times in Firefox-Tabs at once - thus, if I fire multiple > http requests very shortly after each other. I have no clue if > multiple users firing multiple events would lead to the same issue, > yet (that would be even worse). > > I got the latest SVN head from 1.2 stable and just uploaded it to make > sure that it is not already fixed / an internal problem. > > I am looking forward to your help/tips in regards to: > > a.) My small controller code, quoted below? > b.) Debugging tips - how should I continue to understand what the > problem is? > > I have disabled cache and debugging is on 2. > > This is how I test against routing prefix admin. I do not know if it > is the best or recommended way. I would welcome suggestions. Best > would be if the problem would be fixed afterwards > > <?php > > class AppController extends Controller { > > var $helpers = array('Html', 'Form', 'Javascript', 'Time'); > var $components = array('Cookie', 'Session', 'Auth'); > > function beforeFilter() { > if(isset($this->params['prefix'])) { > if($this->params['prefix'] == 'admin') { > Configure::write('debug', 2); > $this->Auth->deny('*'); > $this->Auth->allow('login'); > } else { > $this->Auth->allow('*'); > } > } else { > $this->Auth->allow('*'); > } > } > > } > ?> > > King regards > Jonas Hartmann aka ionas/ionas82 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
