Webportal: Reauthenticate after logout

In this setup the Appserver is used for the DB connectivity and the RoleBasedQERAccount module is used for authentication.

After logout it is not possible to trigger SSO (e.g. bei reloading page).

Is there a way to implement a button to reauthenticate?

Best regards

Michael

Parents
  • Hello Michael,

    I recently saw a soution for this problem. On the logout page, add a button to log in again. On the button's action, insert a code literal that runs the following code.

    System.Web.HttpContext.Current.Session[VI.WebRuntime.Communication.RequestAuthenticationModule.DO_NOT_SINGLE_SIGN_ON_MARKER] = null;
    System.Web.HttpContext.Current.Response.Redirect("", false);

     
    This basically re-enables single-sign-on, while preserving the ability to log in as another user (if the authentication configuration allows for that).
     
    Hope this helps
     
    Hanno
Reply Children
No Data