This event occurs when the menu its loaded This event occurs when loading a horizontal / vertical menu. In this event we can run some security policy, for example if there is an attempt to access the menu directly, without first going through a login form, we can test a session variable defined in the login form, redirect the flow to the initial application. if( !isset([var_id_user]) or empty([var_id_user]) ) { sc_redirect("login.php"); }