Guess you can use the ini to pass an array which has session.auto_start => 1
Something like

Configure::write('Session', array(
                           'defaults' => 'php',
                           'ini' => array('session.auto_start' => 1),
                        ));

Should work...

HTH

Tarique

On Fri, Sep 9, 2011 at 6:37 AM, Chris Cinelli
<[email protected]> wrote:
> In Cake 1.3 I had Session.start = true in the core.php and I did not
> have to worry too much about session.
> It looks like there is not option to auto start sessions in Cake 2.0.
> Correct?
> Should I just add session_start() in beforeFilter in the app
> controller if I want to have "autostarting" sessions?
>
> What is the best practice regarding using session?
>
> Best regards,
>    Chris
>
> --
> 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
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php
>



-- 
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to