APM sso cookie caching issue
Folks
need some help , i have VS were using APM SSO for my jboss web application which working fine with kerberous SSO , the problem is this web doesnt hve logout option , user will close the browser directly , but next time same user open in the same url in the browser APM redirecting to ADFS SSO and getting 302 redirect with CORS error
i want to get rid of previously used MHRsesion cookie so that every time browser come with new request (after closed the page and open the url again)were APM assign new cookie for SSO session , when i try chrome incognito its working fine since it doesnt store any cache or APM cookie
can below irule help
#fire irule before main SSO irule to remove last browser used apm session cookie for previous session
when HTTP_REQUEST priority 80 {
if { ([HTTP::uri] == "/") && [HTTP::cookie exists MRHSession ] && [ACCESS::session exists [HTTP::cookie value MRHSession]] }{
HTTP::cookie remove MRHSession }{
HTTP::redirect "https://log.abc.com[HTTP::uri]"
}
}
any help appreciated