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 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 click here.
I would like to be automatically redirect "please click here" link without human intervention.
Any suggestions?
Thank you
J
3 Replies
- Brad_Parker
Cirrus
What 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 } } - Stanislas_Piro2
Cumulonimbus
F5 provided the answer here
when CLIENT_ACCEPTED { ACCESS::restrict_irule_events disable } when HTTP_REQUEST { if { [HTTP::uri] ends_with "/my.logout.php3?errorcode=19" }{ HTTP::redirect "/" } } - brad_11480
Nimbostratus
did you get this answered?? We have this issue.. but we are trying to figure out why APM is issuing the message to begin with.. we don't need to have it 'automatically click', from what we see, it is going there on an initial request and it shouldn't be going there. (BUG IMHO).
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