Is setting php.ini's session.auto_start to 1 considered bad practice?

后端 未结 3 1250
猫巷女王i
猫巷女王i 2021-01-13 06:09

I was playing around with php.ini\'s session.start_auto and tried setting it to 1. The site I am building requires session management on every page anyways and the server on

3条回答
  •  温柔的废话
    2021-01-13 06:55

    Nah, why should it be? In principle, its the same as having session_start(); as the second line in every page.

提交回复
热议问题