Skip to Content

Logout-SAP UI5 app - cloud foundry - sample code

Hello,

I've used webide to create MTA project with HTML5 repo and added UI5 as a module in it. I would like to know the step by step procedure from here to implement logout functionality with out cache issue. I followed many blogs such as https://blogs.sap.com/2019/08/23/sapui5-sessions-and-logout-fine-grained-control-of-approuter-caching/ for the same but still failing to achieve it.

If anyone could share a sample project with this logout functionality would be of great help to understand the configurations required.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Aug 03, 2020 at 07:41 AM

    The default logout functionality of the approuter (and therefore the entire application) can be used with the "logoutEndpoint" configuration: Sample Code

    In the application itself, you just need to make a call to this endpoint to trigger the flow.

    If you want to have more control over the caching mechanisms, this guide might be able to help you.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.