Setting up session inactivity time outside of installation exit
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 12:04 PM
Hi !!
I'm trying to setup session inactivity specifically for support agents who hop into the system. unfortunately, because of an SSO setup configuration, I cannot use the installation exit. I'm trying to set this up on a UI page that all users will be navigated to.
sample snippet:
<g:evaluate>
if(gs.getUser().hasRole('maint')){
gs.getSession().setMaxInactiveInterval(600);
gs.log('maxinactiveintervalset','login_direct');
}
</g2:evaluate>
I see the code getting executed but somehow the session seems to be not working. Looking to understand if setMAxInactiveInterval works outside of installation exits. Even when i run this maxinactiveinterval function from a background script, doesn't seem to work.
Appreciate any inputs on this.
0 REPLIES 0