I made a simple login function in PHP. My problem is that there are no session attributes when the browser hits page login_success.php
After i store
Configure your php.ini like this:
php.ini
session.auto_start = 1;
Or run following command at your first line:
ini_set('session.auto_start', 1);