I made a folder next to the public html folder and placed these lines at the very first point in index.php
Location of session folder:
location of index.php
What I placed in index.php at line 0:
ini_set('session.save_path',realpath(dirname($_SERVER['DOCUMENT_ROOT']) . '/../session'));
This is the only solution that worked for me. Hope this helps someone.