Forum Discussion
Julio_Navarro
Cirrostratus
Nov 19, 2015APM redirect for the session
Hello!
I am trying to make a redirect if the session is missing or lost when the client get the following message:
BIG-IP can not find session information in the request. This can happen because...
Brad_Parker
Cirrus
Nov 19, 2015What you need to do in you HTTP::response is to make your content HTML and use a META refresh in the
. This may need some tweaking in your testing, but should give you a basic frame work. The 5 in the META tag means it will redirect after 5 seconds.
when RULE_INIT {
set responseContent {
Redirect Title
BIG-IP can not find session information in the request. This can happen because your browser restarted after an add-on was installed. If this occurred, click the link below to continue. This can also happen because cookies are disabled in your browser. If so, enable cookies in your browser and start a new session.
To open a new session, please clieck here.
}
}
when HTTP_REQUEST {
if {some logic}{
HTTP::respond 200 content $responseContent noserver
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects