I am creating a login system in php. I wanted to know if using this type of code, it makes my system secure.
if(isset($_SESSION[\'username\'])){ html page } <