Forum Discussion
JD_02_146678
Nimbostratus
Jul 22, 2014APM - Session Expired/Timeout: Start a new session link
Hello,
I am trying to modify the URL that the 'Start a new session' link points to when an APM session has expired. The current behavior just points the browser back to the APM login page and I ...
Kevin_Stewart
Employee
Jul 23, 2014Okay then, this is probably even messier than the last set of options, but it appears the disconnect URL is statically defined in the sesstimeout.js JavaScript file. To get to that, I'll put a layered LTM VIP in front of my APM VIP, apply a generic STREAM profile and an iRule like this:
when HTTP_REQUEST {
STREAM::disable
virtual simple-1-vs
if { [HTTP::uri] equals "/vdesk/sesstimeout.js" } {
Don't allow data to be chunked
if { [HTTP::version] eq "1.1" } {
if { [HTTP::header is_keepalive] } {
HTTP::header replace "Connection" "Keep-Alive"
}
HTTP::version "1.0"
}
HTTP::header remove Accept-Encoding
set rewrite 1
}
}
when HTTP_RESPONSE {
if { [info exists rewrite] } {
unset rewrite
STREAM::expression {@'/vdesk/hangup.php3'@'http://yahoo.com'@}
STREAM::enable
}
}
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