Forum Discussion

Javier_124486's avatar
Javier_124486
Icon for Nimbostratus rankNimbostratus
Oct 16, 2017

APM When ACCESS_session_close redirect

Hi everyone,

I am trying to figure it out how to do the following thing. I want to redirect my users when they reach their session timeout to an specific URL. For short story please review the irule below

For not so short story... Since my APM sessions are not triggered by a regular APM policy but from an iRule the policy has a Start-->Allow all and delegate the authorization to the irule based on the result of another VS-authentication server...long story.

My issue is that i cannot rely on detecting /my.policy or /vdesk.hangup* to redirect my users because they will be authorized and whenever i reach the timeout and they send traffic again.

I tried to use a redirect when the user request /my.policy or /vdesk.hangup but this never happen because APM does not send them there.

So, i was looking for something like this:

when ACCESS_SESSION_CLOSED {
    HTTP::redirect https://new.redirect.com
} 

but it seems that with that even you cannot redirect...any ideas? Thank you in advanced