Forum Discussion

AlexS_yb's avatar
AlexS_yb
Icon for Cirrocumulus rankCirrocumulus
Apr 06, 2021

using irules to deliver pages

Hi

 

I have a VS which is acting as my SSO - its the landing spot for multidomain SSO.

I have a VS (it has ASM applied first) that then goes to another VS (this has APM applied)

 

I have a irule file with

when HTTP_REQUEST {

switch

"/status/* {

# with

HTTP::respond 200 content

}

 

 

I also have

    set sid [ACCESS::session sid]

    if { $sid == "" } {

 

how I get here is I browse to auth/status and if I have no valid cookies, then it logs me in. once I log in , I then go to the console and delete the session

but I can still get to auth/status with out the APM saying hey you cookie / session id is invalid.

 

how can I get irule to force a relogin back in ? and then return to auth/status ?

 

Why does apm allow me to get there ???

Also I have a per request policy with just does the SSO mapping item and then allow.

 

very confused

 

so why not put a back end to it. I want access to the session info

 

 

1 Reply