Topic
1 reply Latest Post - ‏2013-10-17T19:39:59Z by BJOwings
PeddintiSagar
PeddintiSagar
20 Posts
ACCEPTED ANSWER

Pinned topic how to disable login dialog popup when session expires

‏2013-10-08T11:04:05Z |

hi guys,

I've created a plugin in which we are invoking a plugin service , when the session has been expired its showing login dialog.  I want to override this and redirect  it to the home page . even though i'm using requestFailedCallback   and callerHandledErrorNumbers:["1003"], those are not working and still displaying a login pane .

please help regarding this . Thanks in advance.

Updated on 2013-10-08T11:26:59Z at 2013-10-08T11:26:59Z by PeddintiSagar
  • BJOwings
    BJOwings
    185 Posts
    ACCEPTED ANSWER

    Re: how to disable login dialog popup when session expires

    ‏2013-10-17T19:39:59Z  in response to PeddintiSagar

    There is a different path taken in Request.js that invokes ecm.model.desktop.onSessionExpired for 1003 errors.  This is what starts the process of showing the login dialog.  To avoid that behavior, you could override onSessionExpired with your own function.