Forum Discussion
Accessing Different URI Paths in the same APM Session
- Feb 27, 2020
Fixed it if anyone are in the same situation this fix will work
when HTTP_REQUEST {
if { ( [HTTP::cookie exists MRHSession] ) and not ( [ACCESS::session exists -state_allow [HTTP::cookie value MRHSession]] ) } {
if { ( [HTTP::uri] ne [ACCESS::session data get session.server.landinguri] ) and not ( [ACCESS::session data get session.server.landinguri] eq "" ) } {
ACCESS::session remove
HTTP::redirect [HTTP::uri]
TCP::close
}
}
}
Fixed it if anyone are in the same situation this fix will work
when HTTP_REQUEST {
if { ( [HTTP::cookie exists MRHSession] ) and not ( [ACCESS::session exists -state_allow [HTTP::cookie value MRHSession]] ) } {
if { ( [HTTP::uri] ne [ACCESS::session data get session.server.landinguri] ) and not ( [ACCESS::session data get session.server.landinguri] eq "" ) } {
ACCESS::session remove
HTTP::redirect [HTTP::uri]
TCP::close
}
}
}
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