Forum Discussion
Gary_Walderich_
Nimbostratus
Sep 04, 2007Redirect user upon logout iRule
How would I create an iRule that would enable a user to be immidiately redirected when they log out of the application.
Here is what I am looking to accomplish:
1:User logs all t...
hoolio
Cirrostratus
Sep 06, 2007Hi,
Can you clarify what you mean by "launching SAPLogin.jsp"? Does the web application send the client a 302 redirect with SAPlogin.jsp as the Location header value? Or is it a javascript-based redirect? If it is a redirect, you could rewrite it by triggering on the HTTP_RESPONSE event and looking for HTTP::status of 302 with a Location header value that contains SAPLogin.jsp. If you confirm this is what is happening, the rule is pretty simple to write.
As for preventing a user from interacting with previous pages, you could try clearing their cookies, if the SAP app doesn't do this already upon logout. Without cookies in subsequent requests, I would assume the SAP app would prompt them to log in again.
Aaron
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