Please I am not an advanced PHP user and I need help in restricting users from accessing secure pages with just a URL ( by passing🆒 login)
Since you mention sessions, perhaps you would like to read the PHP manual concerning session handling.