Restriction to a page does not reject direct link to the page.
The login page works fine and only correctly redirects the users that have the level I have set. However if i try to go directly (by link) to the index2.php i just allows everybody to gain access to the page without logging in. I have tried to follow your guide but with no luck.
Please advice on what I´m doing wrong