Setting Idle Timeout Threshold

42 views
Skip to first unread message

Kris Dupuis

unread,
May 15, 2018, 9:59:30 AM5/15/18
to ddf-users
I'm working on a project using Allince 0.3.5 and have been trying to configure the application to never time out or auto logout (or have really large timeouts if no timeout is not possible).  I've come across multiple locations in the admin console that have connection timeout inputs.  I have successfully found the location for the "intrigue" search timeout (AdminUI->Standard Search UI->Catalog UI Search) but I'm having issues finding the timeout for all the other components.  I've noticed in SessionTimeout.js line 32:

idleTimeoutThreshold = parseInt(properties.ui.timeout) > 0 ? parseInt(properties.ui.timeout) : idleTimeoutThreshold;

The main questions I have are:
  1. Where do I find the configuration for `properties.ui.timeout` in the admin console?
    • I've looked in AdminUI->Admin->Admin UI Configuration and do not see a timeout field (see below image)
  2. Is it possible to disable these timeouts/auto logouts?


Thanks,

Kris

Brendan Hofmann

unread,
May 15, 2018, 10:33:16 AM5/15/18
to Kris Dupuis, ddf-users

Kris,

The timeout in the Catalog UI Search config is for connections to the backend. You probably do not want to change this, as it will just cause a failed connection to hang longer.

The setting you are looking for is Platform -> Platform UI Configuration -> Session Timeout. This is the value used by the UIs to determine when a user has become idle and should be logged  out. There is not a configuration to disable session expiry completely, but as you mentioned setting this to a very high value will effectively accomplish the same goal.

 

 

Brendan Hofmann

Software Engineer

Connexta, LLC

--
You received this message because you are subscribed to the Google Groups "ddf-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ddf-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kris Dupuis

unread,
May 15, 2018, 11:13:44 AM5/15/18
to ddf-users
Brendan,

I have tried modifying the Platform -> Platform UI Configuration -> Session Timeout but do not see the key "timeout" in SessionTimeout.js.  I've attached a few images below showing the input to "Platform UI Configuration" I have done through the admin UI.  I've also attached what SessionTimeout.js has received .  Do you know why the javascript code sees the footer I have set (My Footer!) but does not have the "timeout" I set (123456)?





Thanks,


Kris

Brendan Hofmann

unread,
May 15, 2018, 12:06:55 PM5/15/18
to Kris Dupuis, ddf-users

Kris,

My mistake. A regression was introduced in this commit (Alliance builds on top of DDF). We have a fix in master as well as additional usability improvements but have not backported them yet. I’ll see if we can get bugfix releases cut to address this.

DEREK MCKEOWN

unread,
May 13, 2019, 7:04:18 AM5/13/19
to ddf-users
Hi,

I'm trying to adjust the timeout threshold on DDF 2.13.5. I've tried setting both the Platform UI Session timeout and the Security session timeout, and restarting DDF, but the actual timeout experienced doesn't seem to reflect these settings.

For example if I set them both to 60 (minutes), and just leave a session on the Intrigue search screen,  the first time I tried this I received a 'sources not available' error message after 43 minutes. I restarted DDF and tried again and received a 'session logged out' message after 24 minutes.

Any ideas? are these the correct parameters to use?

Regards
Derek

To unsubscribe from this group and stop receiving emails from it, send an email to ddf-...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages