I have almost the same problem as you do with regards to the Session.start. I do this in Cakephp 1.1.x when setting sessions: define('AUTO_SESSION', false); define('CAKE_SESSION_SAVE', 'database'); define('CAKE_SESSION_TABLE', 'cake_sessions'); define('CAKE_SESSION_TIMEOUT', '120');
but when I tried it in cakephp 1.2 beta with this settings: Configure::write('Session.save', 'database'); Configure::write('Session.table', 'cake_sessions'); Configure::write('Session.database', 'default'); Configure::write('Session.start', false); the same kind of error appears: Fatal error: Class 'ConnectionManager' not found in ... please tell me if I have done something wrong, or if I have forgotten something else... thanks... On Jan 7, 12:42 am, pravinda <[EMAIL PROTECTED]> wrote: > Hi Everybody, > It was my wrong manipulation. The actual problem is I want to get some > session data in routes.php itself, because my application is more than > 99% ajax based and I don't want to change the url in the address bar. > So, while login I set some session variable for next action and then > refresh the page, in routes.php I fetch the action from session and > then set the action in a variable > then > if(!isset($_SESSION)) // this I need to do because unless I start the > session I can not use session variable. > @session_start(); > $action = 'display'; > if(isset(session variable)) > $action = get session variable; > Router::connect('/', array('controller' => 'pages', 'action' => > $action, 'home')); > > If I use session_start(); here ( as I was using in prebeta) then after > this I need to use session_start(); every where. if I don't use > session_start(); here I cann't get the session variable in routes.php > and if I do I session_start(); here then in other pages like in > controller this creates the problem --~--~---------~--~----~------------~-------~--~----~ 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 PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---