Forum Discussion
Terrence
Nimbostratus
Feb 04, 2013OWA Timeout V2
Our institution is running Exchange 2010. Back in July I presented an irule that would provide a timeout mechanism based upon Exchange timing out the session. Since then this irule no longer funct...
Terrence
Nimbostratus
Feb 04, 2013The simple change below does will redirect to /vdesk/hangup.php3 upon session termination.
I have opened a few tickets regarding the issues with owa timeout, and have never heard that a solution will be provided in TMOS. I have once again resorted to writing my own irule to solve the issue. I actually prefer HTTP::redirect "https://[HTTP::host]/my.logout.php3?errorcode=15"when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/owa/" } {
if { [HTTP::cookie exists "MRHSession"] && ![ACCESS::session exists]} {
if { [string tolower [HTTP::uri]] != "/owa/" && [string tolower [HTTP::uri]] != "/owa/" } {
set cookie_sessionid [format "sessionid=null; path=/; Expires=Thurs, 01-Jan-1970 00:00:00 GMT;"]
set cookie_cadata [format "cadata=null; path=/; Expires=Thurs, 01-Jan-1970 00:00:00 GMT;"]
HTTP::respond 440 "Set-Cookie" cookie_sessionid "Set-Cookie" cookie_cadata
} else {
HTTP::redirect "https://[HTTP::host]/vdesk/hangup.php3"
}
} }
set user_inactive 0
if { [HTTP::header exists "X-UserActivity"] && [HTTP::header "X-UserActivity"] == 0 } {
set mrhsession [HTTP::cookie value "MRHSession"]
set user_inactive 1
return
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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