Session_start help needed

I was just about to give up on this issue when I discovered a solution after reading this article -
Password protecting a directory with a custom login page - Informal - InfinityFree Forum

I downloaded the files from Gethub (link found in the above mentioned article).
I made a few edits and all worked fine, so problem solved.

Thanks for your efforts in trying to help me out here. Much appreciated :smiley: