Hi, I made a blank application and redirected the app_Login to it. in the app_login on validate_succes i redirect to the blank app and started some global variables.
the blank app then redirect the user based on a global var that holds the user type…
the blank app is like this:
/**
- Conditional redirection
*/
// Redirection parameters
$redir_app_doc = ‘menu_docenten’; // Application name
$redir_app_stud = ‘Landstede_Brixx_Student’; // Application name
$redir_app_contact = ‘Landstede_Brixx_Extern’; // Application name
$redir_app_loc_admin = ‘Landstede_Brixx_Loc_Admin’; // Application name
$redir_docent = [usr_op_contactp_actief] == ‘2’; // Redirection docent
$redir_contactpers = [usr_op_contactp_actief] == ‘1’; // Redirection contactpersoon
$redir_student = [usr_op_contactp_actief] == ‘0’; // Redirection student
$redir_loc_admin = [usr_op_contactp_actief] == ‘8’; // Redirection locatie_admin
$redir_target = ‘_blank’; // Target window (_blank, _self, _parent or modal)
$redir_param = array( // Param list, add as many as needed
‘param_1’ => ‘value_1’,
‘param_2’ => ‘value_2’,
);
// Redirection
if ($redir_docent)
{
sc_redir($redir_app_doc, $redir_target);
}
// Redirection
if ($redir_student)
{
sc_redir($redir_app_stud, $redir_target);
}
// Redirection
if ($redir_contactpers)
{
sc_redir($redir_app_contact, $redir_target);
}
// Redirection
if ($redir_loc_admin)
{
sc_redir($redir_app_loc_admin, $redir_target);
}
hope this helps