Php session not working in 000webhost


Hi, recently I found that my php session is not working in 000webhost at all. But it work in the pass few months and I didn’t change any code. May I know is there any issue about php session and 000webhost?


Please add this code to your .htaccess

php_flag output_buffering on


That worked! But would you please explain what it did?