Forum Discussion
Cory_O_150882
Nimbostratus
Jan 24, 2016Inactivity Timeout - MultiDomSSO With Persistent MRHSession Cookies
Good morning!
I was looking to modify our SharePoint solution published through APM so that in the event of a user utilizing multiple tabs, a logout from one will simply shorten the Inactivity Time...
Kai_Wilke
MVP
Jan 24, 2016Hi Cory,
you may try to implement your own soft slo functionality using the [table] command. The stuff I've in my mind would look something like this...
if { [set slo_lifetime [table lifetime -remaining "slo_[ACCESS::session sid]"]] eq "" } then {
if { [HTTP::uri] ends_with "/_layouts/SignOut.aspx" } {
table set "slo_[ACCESS::session sid]" "1" indef 1860
}
} else {
if { $slo_lifetime < 960 } then {
ACCESS::session remove
HTTP::respond 302 Location "/vdesk/hangup.php3"
}
table delete "slo_[ACCESS::session sid]"
}
When the user visits the logoff page, the snipped would create an additional [table] based soft-log-out timer. The soft log out timer would last slightly longer than your original Inactivity Timeout.
- If the user decides to revisits the site within the next 900 seconds, it would just refresh your APM session and delete the [table] counter.
- If the user visits the page after 900 seconds has been elapsed, it would kill the APM session and then redirect the user to the logoff page.
Cheers, Kai
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects