Symfony 2.1 Session Local Value and Master Value (read in phpinfo)

I'm having session problems when I sent a redirect from symfony 2.0 to symfony 2.1.

I use simplesamlphp for authentication and everything works fine on symfony 2.0.

In Symfony 2.1, this is NOT OK. I checked the differences between them on phpinfo-> session and this is what I got:

                          symfony2.1         symfony 2.0        Master Value
session.save_handler         user              files                files

session.save_path     (..)/symproject/app   (..)/wamp/tmp      (..)/wamp/tmp
                      /cache/dev/sessions

These values ​​must be equal to php.ini, as this requires Simplesaml!

I can set the property framework:session:save_pathin config.yml, but I think this is not a good practice, since the save path may be different if im is on my local development machine or not (I have a project on git) ..

And about save_handler, I could not find waay to point it to config.yml. Am I sticking with a "user" on this?

symfony? symfony 2.0 ! . (, !!).

+1
1

, !

Symfony 2.1 Native *. , php.ini.

php-ini configs, null NativeSessionStorage .

config.yml:

framework:
    session:
        handler_id: ~

.

Symfony.

+3

All Articles