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 the way out of our SAP application.
2:Capture SAP response of launching SAPLogin.jsp
3:Redirect to abc_btf/ghi1.jsp
Also, how would I fit this in so that a Successful log out would allow the user to view previous pages, but does not allow interaction with the previous pages.
Does this make any sense?
1 Reply
- hoolio
Cirrostratus
Hi,
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
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