Forum Discussion
APM - Session Expired/Timeout: Start a new session link
Using what Kevin provided above as a starting point, I was able to get this working to support our requirements. Thanks Kevin!
In our case an external SAML SP is redirecting to the BigIP as an IdP for one of any number of URLs so we need to be able to redirect the browser to the originating URL in the event of a page timeout etc...
In case others have similar requirements, this was accomplished by creating the iRule below and referencing in the custom variable in the various page "a href" tags (e.g. "click here" link shown above).
when ACCESS_SESSION_STARTED {
need to set a custom variable using the orig referer URL so we can_
modify any links i.e. modal dialogue & point them back to the SP._
This will be used by referencing the custom var as follows._
within the html tags for "a href" put "%{session.custom.myvar}"
ACCESS::session data set session.custom.myvar [HTTP::header value Referer]
}
- dradiant_306130Feb 23, 2017
Nimbostratus
Hey JD 02!
We are running into the same issue with the "Start a new session" link sending users back to our APM portal (instead of the original SP website users originally went to).
Just trying to understand what your final workaround was... Was it the iRule you stated above along with the "a href" listed in the logout.inc advanced customization page?
Any further info would be awesome.
Thanks
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