Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Ahmed Sherif
    Handling ODA Session Exipry
    Topic posted August 29, 2019 by Ahmed Sherif, tagged Bots 
    36 Views, 1 Comment
    Title:
    Handling ODA Session Exipry
    Summary:
    is there any way to handle System.ExpiredSessionHandler ?
    Content:

    Hi ...

    is there any way to handle System.ExpiredSessionHandler ? Like catching the error in defaultTransition.

    defaultTransitions:
      error: "CustomErrorHandler"

    Customers started to complain about this behavior.

    Appreciating your help .. Thanks.

    Version:
    19.1.5-1907122019

    Comment

     

    • Frank Nimphius

      Hi,

       

      no, because when the session expires then you are not even getting to the bot.  The expiry is on the channel, which is the connection between the bot and the messenger. If you use the Oracle JS web SDK as a messenger, then you could listen for messages and reset a client side timer. This way you can display an alert to a user when the session timeout occurs

      Frank