Forum Discussion
LTM + APM change Session timout for specific uri
Hi, I am configuring an application with a dashbord for user who need to access the application all day long without re-authentication.
I'm using an access profile with Inactivity Timeout set to 900 for this spécific uri i need to increase this timeout to 28800 I try some Irules modification but no way I'm always prompt for authentication after 900s
when HTTP_REQUEST { if { ([HTTP::uri] equals "/dashboard") } { ACCESS::session data set session.inactivity_timeout 28800 } } Any solution ? or i's the bad way to do this ?
2 Replies
- Arnaud_Lemaire
Employee
Perhaps you can try it in a event ACL_allowed, and add some debug to see if you match your irule.
https://devcentral.f5.com/wiki/iRules.ACCESS_ACL_ALLOWED.ashx
- John_Alam_45640Historic F5 Account
Would refreshing the page often solve your problem.
When the APM receives the /dashboard URI in the request, it could embed a meta-tag into the response to force the page to refresh itself periodically:You could use the STREAM:: commands, together with a Stream profile, to embed this line after the http tag. https://devcentral.f5.com/wiki/iRules.STREAM__expression.ashx
Example:
when USER_ACCEPTED { ACCESS::restrict_irule_events disable } when HTTP_REQUEST { if { [HTTP::uri] equals "/dashboard" }{ STREAM::expression {@@@} STREAM::enable } else { STREAM::disable } }HTH.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com