feature #606 Added config to force Symfony use native session handler by default (pulzarraider)
feature #606 Added config to force Symfony use native session handler by default (pulzarraider)

This PR was submitted for the master branch but it was merged into the 2.4 branch instead (closes #606).

Discussion
----------

Added config to force Symfony use native session handler by default

As far as I know Symfony is using NativeFileSessionHandler to save session data to file. This breaks server configuration, because if php is configured to use Memcache or Redis session handler, symfony stores session data to file in app/cache directory and ignores default php session settings.

Correct me if I am wrong, but Symfony should use native session handler that is configured in php ini settings by default (to create less WTFs).

Commits
-------

89f82c8 Added config to force Symfony to use native session handler by default

theodo/theodo-kata,WolfMicrosystems/symfony-wms,apnet/symfony-standard-edition,orodsem/trout,ucay/Skeleton,umpirsky/symfony-standard,lmaslowski/sf2,RuntyCybin/symfony-standard,papaavola/symfony-standard,InkApplications/barenaked-symfony,we-bridge/symfony-admin,Spea/symfony-standard,IgorTimoshenko/symfony-standard-requirejs,simonjcarr/symfony_rest,HasClass0/standard-edition,bamarni/symfony-docker,GulDmitry/music-diff,aprezcuba24/symfony-standard,NoUseFreak/StandardEdition,fduch/symfony-standard-workflow,apnet/symfony-standard-edition,RuntyCybin/symfony-standard,mkrauser/symfony-dump-demo,proteichik/testApp,Cartesia/01,myroshnychenko/SymfonyCMF,tarasinio/weather-remainder.com,bocharsky-bw/symfony-standard,dunglas/symfony-standard,tarasinio/weather-remainder.com,havvg/symfony-standard-propel,kosintwong/symfony_test,bocharsky-bw/symfony-standard,MatthieuCutin/ligue-squash,b00giZm/symfony-boilerplate-app,makasim/LiipImagineBundleSandbox,bshaffer/symfony-standard,bamarni/symfony-docker,tarasinio/weather-remainder.com,Soullivaneuh/symfony-standard,wachterjohannes/sulu-standard,havvg/symfony-propel-edition,pjcdawkins/tmp-symfony-demo,Baachi/symfony-standard,ucsf-ckm/symfony-emberjs-edition,achrafYne/restaurants-guide,gencer/symfony-standard,0mars/symfony-standard-issue-13291,GulDmitry/music-diff,jakzal/symfony-standard,formapro-forks/api-basic,phospr/symfony-starter,apnet/symfony-standard-edition,black-project/black-standard,ctrl-f5/symfony-standard,b00giZm/symfony-boilerplate-app,xiaobudongzhang/symfony-standard,egeloen/symfony-standard,b00giZm/symfony-boilerplate-app,unewochialat/symfony-standard,kmelia/fresh-symfony,wachterjohannes/sulu-standard,ewgRa/symfony-standard,yhoiseth/notelite.net,OskarStark/symfony-standard,javiereguiluz/symfony-standard,ovelasquez/ussi,Clastic/StandardEdition,vincentchalamon/phpunit-bridge,mweimerskirch/symfony-standard,kmelia/fresh-symfony,sulu-io/sulu-standard,bionic-university/alexander-pobereznichenko,Tobion/symfony-standard,zanderbaldwin/symfony-layers,SymfonyId/api-platform,checat/symfony-minimal,shamcode/symfony-testing,lyrixx/symfony-standard,fahadonline/sulu,gencer/symfony-standard,twisted-socket/stage-plots,propelorm/symfony-propel-edition,havvg/symfony-propel-edition,taylankasap/symfony-standard,phospr/symfony-starter,umpirsky/symfony-standard,rajkamalganeshvivid/symfony-standard,theodo/theodo-kata,Metabor/Start-App,drufony/drufony,FLM/uberstrap,dkarvounaris/symfony-standard,Chill-project/Standard,symfony-cmf/standard-edition,taylankasap/symfony-standard,jakzal/symfony-standard,SymfonyId/Skeleton,lyrixx/symfony-standard,UxorialRook/symfony-standard,egeloen/symfony-standard,1ed/symfony-standard,vincentchalamon/phpunit-bridge,sulu-io/sulu-standard,Baachi/symfony-standard,formapro-forks/api-basic,Chill-project/Standard,shadowtje1990/symfony_todo_api,propelorm/symfony-propel-edition,ybutb/videotask,GulDmitry/music-diff,havvg/symfony-standard-propel,spolischook/standard-edition,vincentaubert/symfony-standard,glavweb/symfony-standard,black-project/black-standard,vincentaubert/symfony-standard,liip-forks/symfony-standard,dunglas/symfony-standard,yhoiseth/notelite.net,tristanbes/symfony-standard,platformsh/platformsh-example-symfony,GulDmitry/music-diff,continuousphp/symfony-skeleton,fabpot/symfony-standard,MatthieuCutin/ligue-squash,continuousphp/symfony-skeleton,ewgRa/symfony-standard,ovelasquez/ussi,sulu-io/sulu-standard,simonjcarr/symfony_rest,ucsf-ckm/symfony-emberjs-edition,fduch/symfony-standard-workflow,IgorTimoshenko/symfony-standard-requirejs,fahadonline/sulu,xabbuh/symfony-standard,ctrl-f5/symfony-standard,stof/symfony-standard,unewochialat/symfony-standard,skafandri/blog,ovelasquez/ussi,platformsh/platformsh-example-symfony,the-software-factory/superhero-api,Ocramius/symfony-standard,NoUseFreak/StandardEdition,aerrasti/iemedebe,dkarvounaris/symfony-standard,HumanBooster/Symfony,OskarStark/symfony-standard,SymfonyId/Skeleton,Clastic/StandardEdition,jbdelhommeau/symfony-standard,rajkamalganeshvivid/symfony-standard,the-software-factory/superhero-api,elcodi/symfonycon-demo,javiereguiluz/symfony-standard,pjcdawkins/tmp-symfony-demo,fabpot/symfony-standard,fahadonline/sulu,yelmontaser/symfony-standard,yelmontaser/symfony-standard,symfony/symfony-standard,mayeco/symfony-standard-pagodabox,tarasinio/weather-remainder.com,fahadonline/sulu,wachterjohannes/sulu-standard,shamcode/symfony-testing,Clastic/StandardEdition,tristanbes/symfony-standard,liip-forks/symfony-standard,Cartesia/01,trsteel88/symfony-standard,irro/MastoAlliance,NoUseFreak/StandardEdition,proteichik/testApp,orodsem/trout,orodsem/trout,twisted-socket/stage-plots,continuousphp/symfony-skeleton,uttam-vi/pardawala,uttam-vi/pardawala,UxorialRook/symfony-standard,AlexeyKupershtokh/symfony-standard,HasClass0/standard-edition,symfony-cmf/standard-edition,uttam-vi/pardawala,stof/symfony-standard,Spea/symfony-standard,kmelia/fresh-symfony,xiaobudongzhang/symfony-standard,by-examples/symfony-standard,irro/MastoAlliance,Rvanlaak/symfony-standard,ucay/Skeleton,skafandri/blog,symfony/symfony-standard,WolfMicrosystems/symfony-wms,zanderbaldwin/symfony-layers,jbdelhommeau/symfony-standard,mnapoli/symfony-standard,ucay/Skeleton,Tobion/symfony-standard,glavweb/symfony-standard,AlexeyKupershtokh/symfony-standard,Soullivaneuh/symfony-standard,Cartesia/01,continuousphp/symfony-skeleton,bshaffer/symfony-standard,shadowtje1990/symfony_todo_api,ybutb/videotask,aerrasti/iemedebe,debruyne0/symfony,debruyne0/symfony,trsteel88/symfony-standard,spolischook/standard-edition,papaavola/symfony-standard,mweimerskirch/symfony-standard